<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Unfortunately there isn't...<br>I asked the same question almost a year ago:<br><br>See http://marc.info/?l=logback-user&amp;m=118426697600168&amp;w=2<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Silvano Maffeis &lt;silvano@maffeis.com&gt;<br>To: logback-user@qos.ch<br>Sent: Thursday, June 5, 2008 7:42:25 AM<br>Subject: [logback-user] logback equivalent of %c{1} in log4j?<br><br>
Hi<br><br>In my logs I would like to see only the name of the class issuing the<br>log statement,<br>without any package information. In log4j I use %c{1} for that. In<br>logback I tried<br>various patterns, such as %logger{30}, but the best I can get is<br>the abbreviated package name in front of the class name, e.g.,&nbsp; something like<br>"c.v.t.s.session.SessionPlugin".<br><br>Is there a pattern for getting only the class name without any package<br>information ?<br><br>Cheers,<br>Silvano<br>_______________________________________________<br>Logback-user mailing list<br><a ymailto="mailto:Logback-user@qos.ch" href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br><a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br></div></div></div><br>



      </body></html>