log files not rotating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I have setup a new file in /etc/logrotate.d (see below)

But for some reason the logs are not being rotated

is there some way i can run the logrotate script interactively to see
the failure or is there a log file to look at to see why this is not
working

Thanks
Randy



#cat apache_unitnet
/var/log/httpd/unitnet.com-access_log
/var/log/httpd/unitnet.com-error_log
/var/log/httpd/unitnet_mainaccess.log /var/log/httpd/mod_jk.log
/var/log/httpd/unitnet_spanish.com-access_log
/var/log/httpd/unitnet_spanish.com-error_log  /var/log/httpd/tomcat {
    daily
    compress
    rotate 31
    missingok
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
    endscript
}


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux