RollingFileAppenderOpenFile Method Apache log4net™ SDK Documentation
Creates and opens the file for logging. If StaticLogFileName is false then the fully qualified name is determined and used.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

protected override void OpenFile(
	string fileName,
	bool append
)

Parameters

fileName
Type: SystemString
the name of the file to open
append
Type: SystemBoolean
true to append to existing file
Remarks

This method will ensure that the directory structure for the fileName specified exists.

See Also

Reference