RollingFileAppender PropertiesApache log4net™ SDK Documentation

The RollingFileAppender type exposes the following members.

Properties

  NameDescription
Public propertyAppendToFile
Gets or sets a flag that indicates whether the file should be appended to or overwritten.
(Inherited from FileAppender.)
Public propertyCountDirection
Gets or sets the rolling file count direction.
Public propertyDatePattern
Gets or sets the date pattern to be used for generating file names when rolling over on date.
Public propertyDateTimeStrategy
Gets or sets the strategy for determining the current date and time. The default implementation is to use LocalDateTime which internally calls through to DateTime.Now. DateTime.UtcNow may be used on frameworks newer than .NET 1.0 by specifying UniversalDateTime.
Public propertyEncoding
Gets or sets Encoding used to write to the file.
(Inherited from FileAppender.)
Public propertyErrorHandler
Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender.
(Inherited from TextWriterAppender.)
Public propertyFile
Gets or sets the path to the file that logging will be written to.
(Inherited from FileAppender.)
Public propertyFilterHead
The filter chain.
(Inherited from AppenderSkeleton.)
Public propertyImmediateFlush
Gets or set whether the appender will flush at the end of each append operation.
(Inherited from TextWriterAppender.)
Public propertyLayout
Gets or sets the ILayout for this appender.
(Inherited from AppenderSkeleton.)
Public propertyLockingModel
Gets or sets the LockingModel used to handle locking of the file.
(Inherited from FileAppender.)
Public propertyMaxFileSize
Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
Public propertyMaximumFileSize
Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
Public propertyMaxSizeRollBackups
Gets or sets the maximum number of backup files that are kept before the oldest is erased.
Public propertyName
Gets or sets the name of this appender.
(Inherited from AppenderSkeleton.)
Public propertyPreserveLogFileNameExtension
Gets or sets a value indicating whether to preserve the file name extension when rolling.
Protected propertyQuietWriter
Gets or sets the QuietTextWriter where logging events will be written to.
(Inherited from TextWriterAppender.)
Protected propertyRequiresLayout
This appender requires a log4net.Layout to be set.
(Inherited from TextWriterAppender.)
Public propertyRollingStyle
Gets or sets the rolling style.
Public propertySecurityContext
Gets or sets the SecurityContext used to write to the file.
(Inherited from FileAppender.)
Public propertyStaticLogFileName
Gets or sets a value indicating whether to always log to the same file.
Public propertyThreshold
Gets or sets the threshold Level of this appender.
(Inherited from AppenderSkeleton.)
Public propertyWriter
Sets the TextWriter where the log output will go.
(Inherited from TextWriterAppender.)
Top
See Also

Reference