You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by ljiljana <la...@avaya.com> on 2009/05/20 12:09:32 UTC

log4j:ERROR Write - java.io.IOException: Stream closed

We are using RollingFileAppender.
Sometimes when log level is changed the following error appears:

2009-04-26 16:08:09,459|log4j:ERROR Write failure.
2009-04-26 16:08:09,459|java.io.IOException: Stream closed
2009-04-26 16:08:09,459|	at sun.nio.cs.StreamEncoder.ensureOpen(Unknown
Source)
2009-04-26 16:08:09,459|	at sun.nio.cs.StreamEncoder.write(Unknown Source)
2009-04-26 16:08:09,459|	at sun.nio.cs.StreamEncoder.write(Unknown Source)
2009-04-26 16:08:09,459|	at java.io.OutputStreamWriter.write(Unknown Source)
2009-04-26 16:08:09,459|	at java.io.Writer.write(Unknown Source)
....

How can it be avoided?

-- 
View this message in context: http://www.nabble.com/log4j%3AERROR-Write---java.io.IOException%3A-Stream-closed-tp23632584p23632584.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


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