I want to use RollingMode.Date to log by date. But default interval is one minute. I looked into source and saw, that class has protected enum RollPoint
/// <summary>
/// The code assumes that the following 'time' constants are in a increasing sequence.
/// </summary>
/// <remarks>
/// <para>
/// The code assumes that the following 'time' constants are in a increasing sequence.
/// </para>
/// </remarks>
protected enum RollPoint
{
InvalidRollPoint = -1,
TopOfMinute,
TopOfHour,
HalfDay,
TopOfDay,
TopOfWeek,
TopOfMonth
}
How to specify RollPoint to RollingFileAppender object?
Thanks!
You can use
datePatternproperty of log configuration.It narrows down to adding
to your appender configuration. More information here.