[logback-user] Log Filtering base on issuing class (%C)

ceki ceki at qos.ch
Wed May 30 22:28:47 CEST 2012


The pattern %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n" 
does not match the output sent in your message. You probably have 
another config file lying around with $logger instead of %logger in the 
pattern.

On 30.05.2012 22:14, Gonzalo Vasquez wrote:
> Strange, but I'll check as I'm getting the following kind of messages:
>
> 16:09:35,447 INFO [STDOUT] 2012-05-30 16:09:35.447 [RMI TCP
> Connection(4)-127.0.0.1] QueryResultImpl $logger retrieved ScoreNodes in
> 0 ms (0)

[snip]

> Using this pattern:
>
> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
>
>
> So it seems that $logger is the logger name, isn't it?


-- 
Ceki
http://twitter.com/#!/ceki


More information about the Logback-user mailing list