FreeAndNil commented on issue #234: URL: https://github.com/apache/logging-log4net/issues/234#issuecomment-2764555642
@lraulea in AdjustFileBeforeAppend() "File" only changes when log4net already has a file open and decides to close it and create a new one. Maybe in your case, you have a old log file which the current process never had opened (because an old instance created it). In this case there is no rollover. I personally use a powershell script to compress the outdated log files. This has the advantage of not blocking the thread which just wants to log a line with compressing a maybe large logfile. -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org