tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8154] New: - logrotate script in RPM rotates non-existing file
Date Tue, 16 Apr 2002 09:34:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8154>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8154

logrotate script in RPM rotates non-existing file

           Summary: logrotate script in RPM rotates non-existing file
           Product: Tomcat 3
           Version: 3.3 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Config
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: steinar.bang@tandbergtv.com


The /etc/logrotate.d/tomcat file installed by the RPM
refers to a non-existing file.  It 
doesn't have the
/var/log/tomcat directory in its path.  

So instead of the 
current:

/var/log/tomcat.log {
    missingok
    postrotate
        /usr/bin/killall -HUP 
httpd
    endscript
}

it should contain something like this:

/var/log/tomcat/*.log 
{
    missingok
    postrotate
        /usr/bin/killall -HUP httpd
    endscript
}

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message