No.
RollingFileAppender.RollPoint.TopOfMonth is the biggest value.
See http://logging.apache.org/log4net/release/sdk/log4net.Appender.RollingFileAppender.RollPoint.html for reference.
题
Is it possible to set the RollingFileAppender to roll yearly rather than monthly? There won't be enough entries to require one file per month, so I'd like to set it up on a yearly basis, but when I set the datePattern = "yyyy"
log4net said it was unable to parse (Invalid Roll Point).
解决方案
No.
RollingFileAppender.RollPoint.TopOfMonth is the biggest value.
See http://logging.apache.org/log4net/release/sdk/log4net.Appender.RollingFileAppender.RollPoint.html for reference.