Christopher Schultz wrote: > Jason, > > Jason Perrone wrote: >> Please forgive me if this question was already answered. I use log4j in >> my application, but still you always have some log messages that end up >> in stdout. For these, and for all messages that end up in stdout, I >> would like there to be a separate log file for each of the applications >> (contexts) deployed in the container. When trying to debug and looking >> for log messages it can get quite convoluted when all of the contexts >> are logging to the same file. > > Sorry, dude. Stdout is stdout. If you call System.out.print and friends, > it's gonna go to (the unified) standard output. There's no way to > redirect stuff depending on the webapp that emitted the output.
Not strictly true. http://tomcat.apache.org/tomcat-6.0-doc/config/context.html You want the swallowOutput parameter of the context. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]