DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=44036>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44036 Summary: rotatelogs.exe seems not releasing old log files Product: Apache httpd-2 Version: 2.2.6 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] For maintenance work, I would like to delete old error.log files, but I'm not able to delete them from Windows command prompt. rotatelogs.exe seems not releasing old log files. How to reproduce; 1. Add following directive, ErrorLog "| c:/apache2/bin/rotatelogs.exe c:/apache2/logs/%Y%m%d_error.log 86400" 2. Restart Apache and access non-existing pages from browser 3. Change Windows date 4. Access non-existing pages from browser 5. Delete the old error.log file like, > del YYYYMMDD_error.log 6. The old file still exists > ls I'm able to delete them from Widows explore, but I would like to make a script for maintenance work. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
