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 "John Christopher Flores (JIRA)" <ji...@apache.org> on 2011/04/26 12:46:03 UTC
[jira] [Commented] (LOG4NET-27) Rolling files on date/time
boundaries doesn't support a maximum number of backup files.
[ https://issues.apache.org/jira/browse/LOG4NET-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025170#comment-13025170 ]
John Christopher Flores commented on LOG4NET-27:
------------------------------------------------
Hope this helps for some. TrimFilesDaily property is a boolean type. Just add parameter in your log4net configuration file and set it to true.
> Rolling files on date/time boundaries doesn't support a maximum number of backup files.
> ---------------------------------------------------------------------------------------
>
> Key: LOG4NET-27
> URL: https://issues.apache.org/jira/browse/LOG4NET-27
> Project: Log4net
> Issue Type: New Feature
> Components: Appenders
> Affects Versions: 1.2.11
> Reporter: Florian Ramillien
> Priority: Minor
> Fix For: 1.2.11
>
> Attachments: LOG4NET-27.patch, RollingFileAppender.cs, RollingFileAppender.cs, RollingFileAppender.cs.patch, RollingFileAppender.patch
>
>
> A maximum of backup files exist when rolling files on file size, but not for rolling on date/time.
> This can be implemented with the same config key : MaxSizeRollBackups
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira