<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;">No problem:<br><br>http://jira.qos.ch/browse/LBGENERAL-19<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Ceki Gulcu &lt;listid@qos.ch&gt;<br>To: logback users list &lt;logback-user@qos.ch&gt;<br>Sent: Thursday, June 5, 2008 8:44:22 AM<br>Subject: Re: [logback-user] logback equivalent of %c{1} in log4j?<br><br>
<br>Hello Arthur, Silvano,<br><br>Arthur, could you please enter a Jira issue referencing this thread as well as <br>the thread from last year so that this feature can be added in the near future.<br><br>Is that OK with you?<br><br>Arthur Blake wrote:<br>&gt; Unfortunately there isn't...<br>&gt; I asked the same question almost a year ago:<br>&gt; <br>&gt; See <a href="http://marc.info/?l=logback-user&amp;m=118426697600168&amp;w=2" target="_blank">http://marc.info/?l=logback-user&amp;m=118426697600168&amp;w=2</a><br>&gt; <br>&gt; ----- Original Message ----<br>&gt; From: Silvano Maffeis &lt;<a ymailto="mailto:silvano@maffeis.com" href="mailto:silvano@maffeis.com">silvano@maffeis.com</a>&gt;<br>&gt; To: <a ymailto="mailto:logback-user@qos.ch" href="mailto:logback-user@qos.ch">logback-user@qos.ch</a><br>&gt; Sent: Thursday, June 5, 2008 7:42:25 AM<br>&gt; Subject: [logback-user] logback equivalent of %c{1} in log4j?<br>&gt; <br>&gt; Hi<br>&gt; <br>&gt; In
 my logs I would like to see only the name of the class issuing the<br>&gt; log statement,<br>&gt; without any package information. In log4j I use %c{1} for that. In<br>&gt; logback I tried<br>&gt; various patterns, such as %logger{30}, but the best I can get is<br>&gt; the abbreviated package name in front of the class name, e.g.,&nbsp; <br>&gt; something like<br>&gt; "c.v.t.s.session.SessionPlugin".<br>&gt; <br>&gt; Is there a pattern for getting only the class name without any package<br>&gt; information ?<br>&gt; <br>&gt; Cheers,<br>&gt; Silvano<br><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>