Merge pull request #314 from jboner/wip-1625-slf4j-test-patriknw

Test for Slf4jEventHandler. See #1625
This commit is contained in:
patriknw 2012-02-07 08:58:10 -08:00
commit ba1b9716ee
7 changed files with 164 additions and 11 deletions

View file

@ -218,9 +218,9 @@ Mapped Diagnostic Context (MDC) with attribute name ``sourceThread``.
With Logback the thread name is available with ``%X{sourceThread}`` specifier within the pattern layout configuration::
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<layout>
<encoder>
<pattern>%date{ISO8601} %-5level %logger{36} %X{sourceThread} - %msg%n</pattern>
</layout>
</encoder>
</appender>
.. note::
@ -235,9 +235,9 @@ is available for associating log messages e.g. with members of a router. This
information is available in the MDC with attribute name ``akkaSource``::
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<layout>
<encoder>
<pattern>%date{ISO8601} %-5level %logger{36} %X{akkaSource} - %msg%n</pattern>
</layout>
</encoder>
</appender>
For more details on what this attribute contains—also for non-actors—please see