Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JBoss/WildFly and the fly likes jboss-log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss-log4j" Watch "jboss-log4j" New topic
Author

jboss-log4j

shankar subramanian
Greenhorn

Joined: Oct 14, 2003
Posts: 3
hi all,
i have jboss 3.0.7 server and i have 2 aplications deployed on it as 2 seperate WAR files. now i want to capture the logs generated by these 2 applications seperately.
i know that jboss comes with log4j and the log4j.xml is to be set in the server/conf folder. but i dont know how should i configure it such that i get 2 seperate log files generated fo my 2 applications that run simultaneously and the logs generated by 1 application is not written on the other application log.
can someone help me with some practical code stuff?
cheers!!!
shankar
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

There's a JBoss topic area where you'll probably get better answers. I'm moving your question over there.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Consider Paul's rocket mass heater.
 
subject: jboss-log4j
 
Similar Threads
Log4j problem in Websphere
JBoss 6.1.0.Final Application Specific logging
jboss-log4j: seperate logs for different applications
WAS 6
jboss-log4j