You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2013/01/11 08:28:41 UTC

SimpleLoggerContext.stream is never closed

Hi All:

The print stream in SimpleLoggerContext.stream is created but never closed.

I would expect it to be closed when Log4J shutsdown in some way. The PS is
also passed and used in SimpleLogger.

Should this PS be flushed or closed at some point?

If not, some code comments would be nice.

Gary

-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory