log4net SDK Reference |

# FileAppender.AppendToFile Property

Gets or sets a flag that indicates whether the file should be appended to or overwritten.

[Visual Basic]
Public Property AppendToFile As Boolean
[C#]
public bool AppendToFile {get; set;}

#### Property Value

Indicates whether the file should be appended to or overwritten.

#### Remarks

If the value is set to false then the file will be overwritten, if it is set to true then the file will be appended to.

The default value is true.

#### See Also

FileAppender Class | log4net.Appender Namespace