[logback-user] Dropping class package name using PatternLayout

Silvano Maffeis silvano at maffeis.com
Wed Nov 12 18:17:22 CET 2008


Hi.

Is it possible to completely remove the Java package name of a logged class
using PatternLayout? Meaning, instead of something like

13:09:30 [main] DEBUG c.q.logback.demo.ContextListener - Classload hashcode
is 13995234

I would simply like to see

13:09:30 [main] DEBUG ContextListener - Classload hashcode is 13995234

Regards,
Silvano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20081112/afff1f49/attachment.htm 


More information about the Logback-user mailing list