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
Subscribe to:
Post Comments (Atom)

1 comment:
This works great, I had a project with multiple maven modules and I was not sure what properties log4j would load.
Thank you!
Post a Comment