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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to