FerdinandStapenhorst opened a new issue, #207: URL: https://github.com/apache/logging-log4net/issues/207
I implemented a ArchivingRollingFileAppender class that creates zip archives for all those files that would be deleted once maxSizeRollBackups is reached instead of deleting them. - Once RollOverRenameFiles() is called, it checks if the maxSizeRollBackups is reached. If so, it compresses the last rolled file and deletes it afterwards - Once MaximumZipFileSize is reached, it starts rolling the zip files - It never deletes any of the zip files Maybe, some time in the future this feature could make it into the log4net standard? Attached the sources - feel free to use it. Thanks. Ferdinand [ArchivingRollingFileAppender.cs.zip](https://github.com/user-attachments/files/17616653/ArchivingRollingFileAppender.cs.zip) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org