diff options
Diffstat (limited to 'kamon-examples/kamon-play-newrelic-example/conf/logger.xml')
-rw-r--r-- | kamon-examples/kamon-play-newrelic-example/conf/logger.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kamon-examples/kamon-play-newrelic-example/conf/logger.xml b/kamon-examples/kamon-play-newrelic-example/conf/logger.xml new file mode 100644 index 00000000..84126e9d --- /dev/null +++ b/kamon-examples/kamon-play-newrelic-example/conf/logger.xml @@ -0,0 +1,16 @@ +<configuration scan="true"> + <conversionRule conversionWord="traceToken" converterClass="kamon.trace.logging.LogbackTraceTokenConverter" /> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>%date{HH:mm:ss.SSS} %-5level [%traceToken][%X{akkaSource}] [%thread] %logger{55} - %msg%n</pattern> + </encoder> + </appender> + + <logger name="play" level="INFO" /> + <logger name="application" level="INFO" /> + + <root level="INFO"> + <appender-ref ref="STDOUT" /> + </root> + +</configuration> |