Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jboss-log4j: seperate logs for different applications

 
shankar subramanian
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 file names 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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic