|
Nicko Cadell made changes - 04/Mar/06 01:31 AM
Checked in a fix for the incorrect calculation of the NextCheckDate for the TopOfMonth roll point.
Nicko Cadell made changes - 04/Mar/06 01:54 AM
Nicko Cadell made changes - 08/Mar/06 12:20 AM
Nicko Cadell made changes - 08/Mar/06 02:13 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The second point I don't think is valid because there is not TopOfYear roll point. On its own the year cannot be used as a date pattern. When the date pattern is set to 'yyyy' the appender does not fall back to TopOfMonth but rather generates the following error message in the log4net internal debug log:
log4net:ERROR XmlHierarchyConfigurator: Could not create Appender [RollingFileAppender] of type [log4net.Appender.RollingFileAppender]. Reported error follows.
System.ArgumentException: Invalid RollPoint, unable to parse [yyyy]
at log4net.Appender.RollingFileAppender.ActivateOptions() in C:\work\svn_root\apache\log4net\trunk\src\Appender\RollingFileAppender.cs:line 960
The appender is not configured or attached to any loggers, therefore the suggested error message would not occur.