log4j not working in WebSphere -
I have a strange problem that deploys my log4j logging to tcServer but not on WebSphere 6.1. The file name specified in log4j is created. However, it is not populated, even if there are other webserver logs (systemaut.log etc.) I have checked the property directory of my webserver home directory, and there is no conflicting log4j file in it.
The most weird thing is that it works well on TCS server, so it can not be a problem in the log4j file itself. It seems like some environmental issues have any idea about how to solve it?
Thanks
log 4 j and work well for many applications So this combination is not new in any way. Do you use any cover for log4j (eg commons logging)?
Turn on debugging for log 4J.
-Dlog4j.debug = WAS is true for JVM arguments.
P> This will provide information about what the Log-4 is trying to do for J.
This habit should provide some clues about what is happening in the environment.
HTH
Mangla
Comments
Post a Comment