logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <grobme...@gmail.com>
Subject Re: Log4j closes System.err
Date Mon, 28 Feb 2011 15:26:54 GMT
> activateOptions calls WriterAppender.setWriter(), which first calls reset(),
> which in turn calls closeWriter().
> see
> https://svn.apache.org/repos/asf/logging/log4j/trunk/src/main/java/org/apache/log4j/WriterAppender.java
> (the base class of ConsoleAppender containing all mentioned methods)

yes, but its creating a new quiet writer afterwards. so you should be
able to write to another stream, right?

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message