I have jboss 3.0.7 and there are 2 applications as 2 different war files deployed in it. the 2 applications have different properties configured for Logging using Log4J. Inspite of that, i face a problem with the logs generated by the 2 applications. I have specifed different Log files in the log4j.properties files created for the 2 different applications. But the following happens - I run an application, and its logs go properly in its own log. Now when i start the other application, its logs also goes in the first application log and not in its own log file. please advise how i can get the logs in seperate files for the applications..
Dont add your appenders to root element would work. Just use an empty root