From b8c6a19f5c4ca707cc7b6e22811b8ed579857376 Mon Sep 17 00:00:00 2001 From: Diego Date: Wed, 17 Dec 2014 14:19:23 -0300 Subject: = core: avoid unnecesary allocation when askPatternTimeoutWarning is off --- kamon-core/src/main/resources/reference.conf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'kamon-core/src/main/resources/reference.conf') diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index df5534a4..da09f500 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -172,13 +172,18 @@ kamon { max-incubation-time = 20 seconds } - # If ask-pattern-tracing is enabled, a WARN level log message will be generated if a future generated by the `ask` + # Default dispatcher for all trace operations + dispatcher = ${kamon.default-dispatcher} + } + + akka { + # If ask-pattern-timeout-warning is enabled, a WARN level log message will be generated if a future generated by the `ask` # pattern fails with a `AskTimeoutException` and the log message will contain information depending of the strategy selected. # strategies: # - off: nothing to do. # - lightweight: logs the warning when a timeout is reached using org.aspectj.lang.reflect.SourceLocation. # - heavyweight: logs the warning when a timeout is reached using a stack trace captured at the moment the future was created. - ask-pattern-tracing = off + ask-pattern-timeout-warning = off # Default dispatcher for all trace operations dispatcher = ${kamon.default-dispatcher} -- cgit v1.2.3