log4net SDK Reference |

# RollingFileAppender Properties

The properties of the RollingFileAppender class are listed below. For a complete list of RollingFileAppender class members, see the RollingFileAppender Members topic.

#### Public Instance Properties

AppendToFile (inherited from FileAppender) | Gets or sets a flag that indicates whether the file should be appended to or overwritten.
CountDirection | Gets or sets the rolling file count direction.
DatePattern | Gets or sets the date pattern to be used for generating file names when rolling over on date.
Encoding (inherited from FileAppender) | Gets or sets Encoding used to write to the file.
ErrorHandler (inherited from TextWriterAppender) | Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender.
File (inherited from FileAppender) | Gets or sets the path to the file that logging will be written to.
FilterHead (inherited from AppenderSkeleton) | The filter chain.
ImmediateFlush (inherited from TextWriterAppender) | Gets or set whether the appender will flush at the end of each append operation.
Layout (inherited from AppenderSkeleton) | Gets or sets the ILayout for this appender.
LockingModel (inherited from FileAppender) | Gets or sets the LockingModel used to handle locking of the file.
MaxFileSize | Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
MaximumFileSize | Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
MaxSizeRollBackups | Gets or sets the maximum number of backup files that are kept before the oldest is erased.
Name (inherited from AppenderSkeleton) | Gets or sets the name of this appender.
RollingStyle | Gets or sets the rolling style.
SecurityContext (inherited from FileAppender) | Gets or sets the SecurityContext used to write to the file.
StaticLogFileName | Gets or sets a value indicating whether to always log to the same file.
Threshold (inherited from AppenderSkeleton) | Gets or sets the threshold Level of this appender.
Writer (inherited from TextWriterAppender) | Sets the TextWriter where the log output will go.

#### Protected Instance Properties

QuietWriter (inherited from TextWriterAppender) | Gets or sets the QuietTextWriter where logging events will be written to.
RequiresLayout (inherited from TextWriterAppender) | This appender requires a log4net.Layout to be set.

#### See Also

RollingFileAppender Class | log4net.Appender Namespace