Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating two log files for two servlets

Status
Not open for further replies.

developerinlondon

Programmer
Jan 11, 2003
196
GB
I created a servlet in Tomcat and made a copy of it deployed in a different location in the same Tomcat server. But I want to be able to have all of the logging for the 2nd servlet go to a different log file. I tried by changing the appender configuration in the log4j.properties file that I kept in the WEB-INF/classes folder but this doesnt seem to do much, log4j just keeps logging in the same file.

any ideas on what I need to do here?

thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top