dcsimg
is there anyway to output log file according to different logger ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Joe_Lee
Posted On:   Friday, October 24, 2003 04:12 AM

as title,

Ex: if the logger is "A" then I want the log the messge to A.txt

logger B to B.txt


Thanks,


Joe

Re: is there anyway to output log file according to different logger ?

Posted By:   Stephen_McConnell  
Posted On:   Friday, October 24, 2003 05:36 AM

In the server.xml file in the /conf directory, there is a way to define different loggers for different activities in Tomcat. You can also define a server logger for each web-app you have contained in your web server...


Check out the documentation on the server.xml file and look at the tag... it defines the output file for each logger.


Good luck


Stephen McConnell

About | Sitemap | Contact