Reputation: 1369
I was using WAS as my application server for deploying ear project.Presently changed to Glassfish. I am using log4j.xml file for logging. Logging is not working in Glassfish.
Is there any dependency in using log4j.xml with glassfish.
Any suggestions/pointers is appreciated
Upvotes: 1
Views: 6900
Reputation: 4152
If your log4j library is included within your EAR file, then check your app server's JVM properties to ensure the log4j.configuration property is set:
Upvotes: 4