Log4j show package name
Posted
by Stephane Grenier
on Stack Overflow
See other posts from Stack Overflow
or by Stephane Grenier
Published on 2010-04-07T18:15:16Z
Indexed on
2010/04/07
18:33 UTC
Read the original article
Hit count: 287
Right now for my ConversionPattern I have:
log4j.appender.A1.layout.ConversionPattern=%d{yyyy MMM dd HH:mm:ss,SSS} %5p [%t] (%F:%L) - %m%n
What I'd like to do is also include the full package name with the class (%F:%L) but I can't find any config to do so in the docs. I do understand that this will be slower, but it's only for debugging and not when the system will be in production.
© Stack Overflow or respective owner