You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Dominik Psenner (JIRA)" <ji...@apache.org> on 2013/06/20 13:44:20 UTC

[jira] [Closed] (LOG4NET-208) RollingFileAppender does not delete file when RollingStyle = log4net.Appender.RollingFileAppender.RollingMode.Once

     [ https://issues.apache.org/jira/browse/LOG4NET-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominik Psenner closed LOG4NET-208.
-----------------------------------

    Resolution: Won't Fix

The rolling file appender is not supposed to delete files, but rather to roll the content. The expected behaviour is that the rolling file appender truncates a file in case of RollingStyle.Once or AppendToFile=false
                
> RollingFileAppender does not delete file when RollingStyle = log4net.Appender.RollingFileAppender.RollingMode.Once
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-208
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-208
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Windows Xp SP3
>            Reporter: Alain Dupont
>            Priority: Minor
>             Fix For: 1.2 Maintenance Release
>
>
> The RollingFileAppender does not delete file when RollingStyle = log4net.Appender.RollingFileAppender.RollingMode.Once or when then append attribut is set to false.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira