Subscribe to
Main blog
Tumble Log

Tag Archive 'log4j'

Be Careful of Log4J’s PatternLayout

This past week I ran into an interesting issue with Log4J. We had an appender in our log4j.xml file that used PatternLayout with the following pattern: “[%-5p] %d{DATE} %c {%F:%L} - %m%n”. I was looking to reduce the amount of information being written to the log files as they are getting difficult to read. I […]

Read Full Post »