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

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

protected string GetNextOutputFileName(
	string fileName
)

Return Value

Type: OnlineString
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