The RollingFileAppender type exposes the following members.

Properties

  NameDescription
Public propertyFileName
Name of file to log to.
(Inherited from FileAppender.)
Public propertyMaxFileSize
Maximum size of log file in bytes
Public propertyMaxSizeRollBackups
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.

See Also