RollingFileAppender RollingMode Enumeration | Apache log4net™ SDK Documentation

Style of rolling to use

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

C#
VB
C++
F#
Copy

    public enum RollingMode

    Public Enumeration RollingMode

    public enum class RollingMode

    type RollingMode

Members

| Member name | Value | Description
--- | --- | --- | ---
| Once | 0 | Roll files once per program execution
| Size | 1 | Roll files based only on the size of the file
| Date | 2 | Roll files based only on the date
| Composite | 3 | Roll files based on both the size and date of the file

Remarks

Style of rolling to use

See Also

#### Reference

log4net.Appender Namespace