httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46669] New: rotatelogs doesn't autocreate directories
Date Fri, 06 Feb 2009 22:11:38 GMT

           Summary: rotatelogs doesn't autocreate directories
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core

I'm attempting to switch all our chronological logging from cronolog to
rotatelogs. We use directories for each vhost's logs under /var/log/apache and
cronolog would automatically create directories for logs if they weren't
already there.

Could you please add support for rotatelogs to automatically create directories
if it doesn't exist? 

Example of what we have:

CustomLog "|/usr/sbin/rotatelogs -l
/var/log/apache2/ 86400" combined

Instead I got something like this in the errorlog:

Could not open log file '/var/log/apache2/'
(No such file or directory)
piped log program '/usr/sbin/rotatelogs -l
/var/log/apache2/ 86400' failed unexpectedly

I'd submit a patch but I'm not strong in C coding :)


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message