• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

syslog problem ?

M

myothan

Guest
Sirs,

I think my logrotate is running. httpd and syslog are using logrotate. I found httpd log files as expected. But, log files controlled by syslog are serially named but all have zero bytes. I think I have something wrong with syslog. can someone advice me how to and where to check ? I found syslog process is running. Please see my logrotate config below.

Regards,
mt
---------------

[root@webhosts logrotate.d]# more httpd
/var/log/httpd/*log {
missingok
notifempty
sharedscripts
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}
[root@webhosts logrotate.d]# more syslog
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron {
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}

------------------------------------------------------
 
Back
Top