Hey Since that your application starts every few days there would have to be a persistent storage of meta information to share the information "rotate in X days" or a logic "roll if day modulo 3 is 0", but unfortunately log4net does not implement either feature. The rolling file appender implements the rolling modes Once, Size, Date and Composite:
http://logging.apache.org/log4net/release/sdk/log4net.Appender.RollingFileAp pender.RollingMode.html That means you will have to work around that by either: * implement your own appender * extend an existing one with the feature you need * set up a task that behaves like linux' logrotate * append your events into a database where you can group the events in 3-days chunks when selecting them out of the database Best regards Dominik
