Quantcast
Channel: Log4j show package name - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Rakesh Dondlapally for Log4j show package name

Using C{1} is slow. Please see the details below:As per the following link:Used to output the fully qualified class name of the caller issuing the logging request. This conversion specifier can be...

View Article



Answer by Michael Konietzka for Log4j show package name

Maybe I just misunderstand you, but %C will output your class with package.From your referenced docs:%CUsed to output the fully qualified class name of the caller issuing the logging request. This...

View Article

Log4j show package name

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%nWhat I'd like to do is also include the full package name with...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>