RollingFileAppender RollingStyle Property | Apache log4net™ SDK Documentation

Gets or sets the rolling style.

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

C#
VB
C++
F#
Copy

    public RollingFileAppenderRollingMode RollingStyle { get; set; }

    Public Property RollingStyle As RollingFileAppenderRollingMode
    	Get
    	Set

    public:
    property RollingFileAppenderRollingMode RollingStyle {
    	RollingFileAppenderRollingMode get ();
    	void set (RollingFileAppenderRollingMode value);
    }

    member RollingStyle : RollingFileAppenderRollingMode with get, set

#### Property Value

Type: RollingFileAppender
RollingMode
The rolling style.
Remarks

The default rolling style is Composite.

When set to Once this appender's AppendToFile property is set to false, otherwise the appender would append to a single file rather than rolling the file each time it is opened.

See Also

#### Reference

RollingFileAppender Class
log4net.Appender Namespace