An NDoc Documented Class Library

RollingFileAppender.MaxSizeRollBackups Property

Set the maximum number of backup files to retain. If this is set to zero, the log file will be truncated when it reaches the MaxSize. Backup files are called FileName.1, FileName.2 etc. This value can't be negative. The default is 1 backup file.

public int MaxSizeRollBackups {get; set;}

See Also

RollingFileAppender Class | EnterpriseDT.Util.Debug Namespace