Tomcat logging is quite interesting once you get to know it. By default, all webapp logging goes to the same place, catalina.out (this is defined in server.xml/service/engine/logger). Of course, that file can get quite large, and you might want to seperate out certain webabbs from others.

You can define a logger per host and per context. I've only seen org.apache.catalina.logger.FileLogger used for this purpose.

I would make sure your app is logging at all into catalina.out first, then I would try overriding the log destination with a FileLogger, and then finally changing the Logger type.

tom ly wrote:
sorry, i meant in the server.xml file

tom ly <[EMAIL PROTECTED]> wrote:I've got this is my web.xml, but
tomcat won't run with it:



---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!


--------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it!


-- Thanks, Josh Rehman Citysearch Toolsdev, 3559


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to