
8 Feb
2011
8 Feb
'11
3:46 p.m.
On 08.02.2011 14:32, Fabio Erculiani wrote:
Moreover, can I assume that the output pattern I used in log4j will work in logback too? For example, in<appender> I now have: <encoder> <pattern>%d{dd-MM-yy HH:mm:ss,SSS}|%5.5p|%m%n</pattern> </encoder>
Which comes from log4j.xml I previously had. This question might be good for the Logback FAQ, also.
Regards,
Yes, in principle, log4j conversion patterns work in logback as is. Of course, logback are much more powerful. See http://logback.qos.ch/manual/layouts.html#conversionWord for more details. HTH, -- Ceki