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

Davyd McColl closed LOG4NET-413.
--------------------------------
    Resolution: Fixed

Hi

In a bid to get the machinery all going again, I'm closing out old issues, 
especially when:
- they are against older versions of log4net ( < 2)
- they have no associated pull request
- they are unlikely to receive attention because they're wishlist material

I'm doing this to try to increase the signal-to-noise ratio so that it's more 
likely
that issues which can be attended to get the attention they deserve.

I'm not doing this because your contribution isn't important. On the contrary, 
if
the problem still persists, please raise a new issue -- I'd like to know about 
it.


> RollingLogFileAppender doesn't use MaxSizeRollBackups setting
> -------------------------------------------------------------
>
>                 Key: LOG4NET-413
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-413
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.13
>            Reporter: Vitaliy L
>            Priority: Critical
>
> RollingLogFileAppender doesn't use 'MaxSizeRollBackups' setting when 
> 'PreserveLogFileNameExtension' is set to 'true'. 
> These settings work right:
> <appender name="RollingLogFileAppender" 
> type="log4net.Appender.RollingFileAppender">
>       <param name="File" value="log.txt" />
>       <param name="AppendToFile" value="true" />
>       <param name="MaxSizeRollBackups" value="8" />
>       <param name="MaximumFileSize" value="67108864" />
>       <param name="RollingStyle" value="Size" />
>       <param name="StaticLogFileName" value="false" />
>       <param name="CountDirection" value="1" />
> </appender>
> But when we added line:
> <param name="PreserveLogFileNameExtension" value="true" />
> then log4net created more than 8 backup files (we got more that 100 items 
> before we stopped the process because of low disk space)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to