log4net SDK Reference

RollingFileAppender.DatePattern Property

Gets or sets the date pattern to be used for generating file names when rolling over on date.

[Visual Basic]
Public Property DatePattern As String
[C#]
public string DatePattern {get; set;}

Property Value

The date pattern to be used for generating file names when rolling over on date.

Remarks

Takes a string in the same format as expected by SimpleDateFormatter.

This property determines the rollover schedule when rolling over on date.

See Also

RollingFileAppender Class | log4net.Appender Namespace