Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

server.xml - FileLogger and Valve

 
sunil kelkar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article and especially this one might be good starting points.
 
sunil kelkar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic