I'm using Tomcat with juli. I'm using java.util.logging.ConsoleHandler to handle logging output.
My logging.properties looks like the following: handlers = java.util.logging.ConsoleHandler .handlers = java.util.logging.ConsoleHandler java.util.logging.ConsoleHandler.level = FINE java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter jul.ConsoleHandler by definition sends everything to System.err and it grabs a reference to System.err at instantiation time. ConsoleHanlder gets instantiated before Embedded.initStreams() is called. Hence my jul.ConsoleHandler doesn't use SystemLogHandler. One way to fix this would be for Tomcat to provide a SystemLogHandler friendly ConsoleHandler implementation as part of tomcat-juli. Does anyone else think this issue is worthy of a feature request? I'd be more than happy to provide a patch. Mike -- View this message in context: http://old.nabble.com/jul.ConsoleHandler-doesn%27t-work-with-SystemLogHandler-redirectStreams-tp27829370p27829370.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org