The RollingFileAppender type exposes the following members.

Constructors

Methods

  NameDescription
Public methodClose
Close this appender
(Inherited from FileAppender.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLog(Exception)
Log a stack trace
(Overrides FileAppender..::..Log(Exception).)
Public methodLog(String)
Log a message
(Overrides FileAppender..::..Log(String).)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOpen (Inherited from FileAppender.)
Public methodToString (Inherited from Object.)

Fields

  NameDescription
Protected fieldclosed
True if closed
(Inherited from FileAppender.)
Protected fieldfileStream (Inherited from FileAppender.)
Protected fieldlogger
Destination
(Inherited from FileAppender.)

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