logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject SimpleLoggerContext.stream is never closed
Date Fri, 11 Jan 2013 07:28:41 GMT
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.


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

View raw message