[CentOS] Prblems log rotating a file
ra+centos at br-online.de
Fri Mar 23 11:14:01 UTC 2007
Mário Gamito wrote:
> 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
Ermmm. Are you sure that qmail-queue is a valid syslog facility? I don't
> 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
Throw out the above line from syslog.conf and restart syslog. Are you
sure that qmail is logging through syslog anyway? I'm not.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20070323/ee7196d9/signature.bin
More information about the CentOS