httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44036] New: - rotatelogs.exe seems not releasing old log files
Date Fri, 07 Dec 2007 01:50:55 GMT
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: bugs@httpd.apache.org
        ReportedBy: kenji.kikuti@ctc-g.co.jp


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message