Robert Middleton created LOGCXX-568:
---------------------------------------

             Summary: Cleaunup files if rollover fails
                 Key: LOGCXX-568
                 URL: https://issues.apache.org/jira/browse/LOGCXX-568
             Project: Log4cxx
          Issue Type: Improvement
            Reporter: Robert Middleton
            Assignee: Robert Middleton


We can sometimes leave around 0-byte files if the rollover fails to work 
correctly.  Need to determine what conditions this happens under and to delete 
files when this happens.

This should be as simple as creating some kind of FileDeleter class that will 
automatically delete a file as part of its destruction, but if everything goes 
fine we don't delete it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to