Wednesday, March 10, 2010

Log4j logging levels visualized


Above is a visualization I put together of the different logging levels that exist in Apache Log4j 1.2. Along the X-Axis you will see the logging levels that you can call in your code. Along the Y-Axis are the different logging levels you can configure. Red blocks means logging will not be output. Green blocks means logging will be output with those settings.

For example if you have your logging system configured to WARN level; TRACE, DEBUG and INFO logging will not be output in your logging.