FileAppender Properties | Apache log4net™ SDK Documentation

The FileAppender type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| AppendToFile | Gets or sets a flag that indicates whether the file should be appended to or overwritten.
| Encoding | Gets or sets Encoding used to write to the file.
| ErrorHandler | Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender. (Inherited from TextWriterAppender.)
| File | Gets or sets the path to the file that logging will be written to.
| FilterHead | The filter chain. (Inherited from AppenderSkeleton.)
| ImmediateFlush | Gets or set whether the appender will flush at the end of each append operation. (Inherited from TextWriterAppender.)
| Layout | Gets or sets the ILayout for this appender. (Inherited from AppenderSkeleton.)
| LockingModel | Gets or sets the LockingModel used to handle locking of the file.
| Name | Gets or sets the name of this appender. (Inherited from AppenderSkeleton.)
| QuietWriter | Gets or sets the QuietTextWriter where logging events will be written to. (Inherited from TextWriterAppender.)
| RequiresLayout | This appender requires a log4net.Layout to be set. (Inherited from TextWriterAppender.)
| SecurityContext | Gets or sets the SecurityContext used to write to the file.
| Threshold | Gets or sets the threshold Level of this appender. (Inherited from AppenderSkeleton.)
| Writer | Sets the TextWriter where the log output will go. (Inherited from TextWriterAppender.)

Top
See Also

#### Reference

FileAppender Class
log4net.Appender Namespace