Showing posts with label log4j. Show all posts
Showing posts with label log4j. Show all posts

Friday, 16 January 2009

Debugging log4j itself

Problem: You cannot find out which log4j.properties file is used.

Try running VM with parameter
-Dlog4j.debug

You'll get info about log4j properties in console.

See: http://logging.apache.org/log4j/1.2/manual.html

Popular Posts