File Property

log4net SDK Reference |

# FileAppender.File Property

Gets or sets the path to the file that logging will be written to.

[Visual Basic]
Overridable Public Property File As String
[C#]
public virtual string File {get; set;}

#### Property Value

The path to the file that logging will be written to.

#### Remarks

If the path is relative it is taken as relative from the application base directory.

#### See Also

FileAppender Class | log4net.Appender Namespace