This content has been marked as final. Show 2 replies
You can use log4j raising debug level.
In my application, i don't include log4j.properties file in my WEB-INF, but all the logger is still working fine. So can i know what is the use of this file and when we need to use it ? thanks.
Which version of JBoss? JBoss by default has a log4j.xml (or jboss-log4j.xml depending on which version you are using) in the %JBOSS_HOME%\server\< serverName>\conf folder, which gets picked up by log4j. If you want your log4j.properties to be picked up, then you will have to do some extra configurations.