• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

server.xml - FileLogger and Valve

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic