RollingFileAppender RollOverTime Method | Apache log4net™ SDK Documentation

Rollover the file(s) to date/time tagged file(s).

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

C#
VB
C++
F#
Copy

    protected void RollOverTime(
    	bool fileIsOpen
    )

    Protected Sub RollOverTime (
    	fileIsOpen As Boolean
    )

    protected:
    void RollOverTime(
    	bool fileIsOpen
    )

    member RollOverTime :
            fileIsOpen : bool -> unit

#### Parameters

fileIsOpen
  Type: System
  Boolean
  set to true if the file to be rolled is currently open

Remarks

Rollover the file(s) to date/time tagged file(s). Resets curSizeRollBackups. If fileIsOpen is set then the new file is opened (through SafeOpenFile).

See Also

#### Reference

RollingFileAppender Class
log4net.Appender Namespace