diff options
author | Ivan Topolnak <itopolnak@despegar.com> | 2014-01-30 18:23:33 -0300 |
---|---|---|
committer | Ivan Topolnak <itopolnak@despegar.com> | 2014-01-30 18:23:33 -0300 |
commit | a15e17d2462105ad8b72054be58dc9e8f9dc64ed (patch) | |
tree | 9e8c3d1fa732918dc600538bab24940bd18b6e79 /kamon-core/src/main/scala/kamon/trace/logging | |
parent | e47ed388f6ae147e550c39aa2a3638791ec65b66 (diff) | |
download | Kamon-a15e17d2462105ad8b72054be58dc9e8f9dc64ed.tar.gz Kamon-a15e17d2462105ad8b72054be58dc9e8f9dc64ed.tar.bz2 Kamon-a15e17d2462105ad8b72054be58dc9e8f9dc64ed.zip |
wip
Diffstat (limited to 'kamon-core/src/main/scala/kamon/trace/logging')
-rw-r--r-- | kamon-core/src/main/scala/kamon/trace/logging/LogbackTraceTokenConverter.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/kamon/trace/logging/LogbackTraceTokenConverter.scala b/kamon-core/src/main/scala/kamon/trace/logging/LogbackTraceTokenConverter.scala index 403e4ee7..4b7dbb28 100644 --- a/kamon-core/src/main/scala/kamon/trace/logging/LogbackTraceTokenConverter.scala +++ b/kamon-core/src/main/scala/kamon/trace/logging/LogbackTraceTokenConverter.scala @@ -17,8 +17,8 @@ package kamon.trace.logging import ch.qos.logback.classic.pattern.ClassicConverter import ch.qos.logback.classic.spi.ILoggingEvent -import kamon.trace.Trace +import kamon.trace.TraceRecorder class LogbackTraceTokenConverter extends ClassicConverter { - def convert(event: ILoggingEvent): String = Trace.context().map(_.token).getOrElse("undefined") + def convert(event: ILoggingEvent): String = TraceRecorder.currentContext.map(_.token).getOrElse("undefined") } |