wood burning stoves 2.0*
The moose likes Tomcat and the fly likes server.xml - FileLogger and Valve Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "server.xml - FileLogger and Valve" Watch "server.xml - FileLogger and Valve" New topic
Author

server.xml - FileLogger and Valve

sunil kelkar
Greenhorn

Joined: Aug 16, 2005
Posts: 16
I want to configure the Logger and Valve settings in server.xml, in such a way that stderr and stdout are redirected to the file specified there.

Can anyone provide me the relevant server.xml code and an explanation?

Note - I want to redirect my stderr and stdout messages to a file in my application context, rather than the standard catalina.out
[ October 28, 2005: Message edited by: sunil kelkar ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41107
    
  45
This article and especially this one might be good starting points.


Ping & DNS - my free Android networking tools app
sunil kelkar
Greenhorn

Joined: Aug 16, 2005
Posts: 16
Somehow your first link is not working.

This is my server.xml file -


Originally posted by Ulf Dittmer:
This article and especially this one might be good starting points.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: server.xml - FileLogger and Valve
 
Similar Threads
what is wrong with log analyser
Apache Tomcat 5.5 under Debian Etch - Fatal Error
Configure SSO and categories
how to set the error stream using "java" option -D
cnfiguring accesslogvalve to rotate log every 2 hours