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)
Popular Posts
-
(Archiva 1.1.3 with default Derby database) Many times I have had this problem. It's time to note the solution here, so I would not wa...
-
(within JadaSite 2.03 using Apache Valocity 1.5) I got a lot of Permission denied stacktraces for velocity.log within my catalina.out . ...
-
Problem: You cannot find out which log4j.properties file is used. Try running VM with parameter -Dlog4j.debug You'll get info about log4...
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