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 bu...@apache.org on 2010/10/13 20:07:46 UTC

DO NOT REPLY [Bug 49920] DailyRollingFileAppender.rollOver() might leave superclass's WriterAppender.qw as null causing NullPointerExceptions when logging events

https://issues.apache.org/bugzilla/show_bug.cgi?id=49920

--- Comment #1 from yerenkow@uct.ua 2010-10-13 14:07:41 EDT ---
Created an attachment (id=26172)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26172)
Proposed simple patch for fix this

If new file creation failed, at each next event appender will try to create
file.

Patch tested with several run-out-of-space events, occured in one lifetime of
app.
Working ;)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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