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
-
(Eclipse 3.3 - for Eclipse 3.4+ check comments on this post) Do you have some web application that cannot be started in Eclipse's Tomc...
-
Here is a start message: So, this will be log for problems and their solutions - so I would remember them easier :) And, of course, anyone w...
-
(Kubuntu 10.10 with Wine 1.3.10) I have installed a Windows program under Wine, but it wasn't working. When I run the EXE from console...
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