Win a copy of Create an Uber Clone in 7 Days: Build a real world full stack mobile app in Java this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple context logging JBoss-Tomcat  RSS feed

Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy all,
Here's my situation. I have a set of struts apps running on JBoss-Tomcat server. These applications access a common set of EJBs. The ejbs perform a lot of logging operations. What I would like to have happen is the log message be written to a log file based on the context that generated the logging. Currently all log statements end-up being written to the same file. While this is workable, it's not the best solution. Is there a way to configure JBoss/Log4j to do what I'm asking?
Do you pee on your compost? Does this tiny ad?
Why should you try IntelliJ IDEA ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!