RollingStyle Property

log4net SDK Reference |

# RollingFileAppender.RollingStyle Property

Gets or sets the rolling style.

[Visual Basic]
Public Property RollingStyle As RollingMode
[C#]
public RollingFileAppender.RollingMode RollingStyle {get; set;}

#### Property Value

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

RollingFileAppender Class | log4net.Appender Namespace