[logback-user] Weird problem with MDC
Roger Kapsi
roger8019 at gmail.com
Mon Nov 26 18:50:40 CET 2007
I'm new to slf4j & logback and have a weird problem with MDC. I'm
trying to run the SimpleMDC example that comes with logback but get
the following unexpected output. Any idea what's wrong?
Thanks
-Roger
java -cp logback-core-0.9.8.jar:logback-classic-0.9.8.jar:logback-examples-0.9.8.jar:slf4j-api-1.4.3.jar:.
chapter7.SimpleMDC
LOGBACK: No context given for ch.qos.logback.core.pattern.parser.Compiler at 26e85f
12:43:59.539 [main] INFO chapter7.SimpleMDC - Check enclosed.
%PARSER_ERROR_X %PARSER_ERROR_X -
%PARSER_ERROR_m%PARSER_ERROR_n12:43:59.540 [main] DEBUG
chapter7.SimpleMDC - The most beautiful two words in English.
%PARSER_ERROR_X %PARSER_ERROR_X -
%PARSER_ERROR_m%PARSER_ERROR_n12:43:59.540 [main] INFO
chapter7.SimpleMDC - I am not a crook.
%PARSER_ERROR_X %PARSER_ERROR_X -
%PARSER_ERROR_m%PARSER_ERROR_n12:43:59.540 [main] INFO
chapter7.SimpleMDC - Attributed to the former US president. 17 Nov
1973.
%PARSER_ERROR_X %PARSER_ERROR_X - %PARSER_ERROR_m%PARSER_ERROR_n
More information about the Logback-user
mailing list