[CentOS] Prblems log rotating a file

Fri Mar 23 11:00:07 UTC 2007
Mário Gamito <gamito at gmail.com>


I needed to logrotate a fil named qmail-queue.log from qmail-scanner.

So i've edit /etc/syslog.conf and changed it to:


# qmail-queue logs
qmail-queue           /var/spool/qscan/qmail-queue.log

Also, i've edit /etc/logrotate.d/syslog and changed to
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler 
/var/log/boot.log /var/log/cron /var/log/auth 
/var/spool/qscan/qmail-queue.log {
         /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> 
/dev/null || true


I've restarted the syslog service

In the end all i got was the file not being rotated as well as 
Mar 21 08:24:10 mail kernel: Kernel logging (proc) stopped.
Mar 21 08:24:10 mail kernel: Kernel log daemon terminating.
Mar 21 08:24:11 mail syslog: klogd shutdown succeeded
Mar 21 08:24:11 mail exiting on signal 15

What am i doing wrong ?

Any help would be appreciated.

Warm Regards,
Mário Gamito