> (By the way, did you solve your other problem of not getting *any* > stdout output swallowed when swallowOutput="true"?)
Yep. I put it in what is essentially $CATALINA_HOME/conf/context.xml which means it's server-wide and not host-specific ... and as you pointed out, is a setting for all webapps. For now this is what I want ... at least until I can go through all my servlets and make sure they log properly. I'm carrying a lot of little apps I wrote a long time ago that don't use a Logger. I've come to see the value of doing it with log4j but it'll take me a little while to get everything inline. > You may have to set the thread's context classloader like this: > > public void contextInitialized(...) > { > Thread t = new Thread(); > > t.setContextClassLoader(Thread.currentThread() > .getContextClassLoader()); > } > I will definitely try that. I also will consider using log4j's rotating file appender instead of the ConsoleAppender. The reason I didn't do this in the first place is permissions: I don't normally have webapps that are able to write their own files. I will have to think about this a little. Thanks for all your help! --Chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org