Hi all, I have a web based application that consists of some business modules. And I am using log4j to log every incoming request to that modules. I want every module have own log files so I can trace every request in each module.
The log are generated in the jboss console but not in the file which is given in the log4j.xml. What may be the probable reason.
So when your web application uses a log4j class, it finds it at level 2. Classes loaded from here cannot see level 3, so it does not find your configuration file. Instead it finds JBoss's configuration file, at level 2.