RollingFileAppenderGetNextOutputFileName Method Apache log4net™ SDK Documentation
Get the current output file name

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

protected string GetNextOutputFileName(
	string fileName
)

Parameters

fileName
Type: SystemString
the base file name

Return Value

Type: String
the output file name
Remarks

The output file name is based on the base fileName specified. If StaticLogFileName is set then the output file name is the same as the base file passed in. Otherwise the output file depends on the date pattern, on the count direction or both.
See Also

Reference