<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 <listid@qos.ch><br>To: logback users list <logback-user@qos.ch><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>> Unfortunately there isn't...<br>> I asked the same question almost a year ago:<br>> <br>> See <a href="http://marc.info/?l=logback-user&m=118426697600168&w=2" target="_blank">http://marc.info/?l=logback-user&m=118426697600168&w=2</a><br>> <br>> ----- Original Message ----<br>> From: Silvano Maffeis <<a ymailto="mailto:silvano@maffeis.com" href="mailto:silvano@maffeis.com">silvano@maffeis.com</a>><br>> To: <a ymailto="mailto:logback-user@qos.ch" href="mailto:logback-user@qos.ch">logback-user@qos.ch</a><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., <br>> 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>_______________________________________________<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>