Hi Silvano, You could set 1 as an argument for the logger conversion word. In that case the output of the logger name would be "c.q.l.d.ContextListener". If you wish to have only the name without the package name prefix, set the option's value to 0 (zero). However, this last feature will be available only in logback version 0.9.12.
Cheers, Silvano Maffeis wrote: > 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 -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch _______________________________________________ Logback-user mailing list [email protected] http://qos.ch/mailman/listinfo/logback-user
