[CentOS] Prblems log rotating a file

Fri Mar 23 11:14:01 UTC 2007
Ralph Angenendt <ra+centos at br-online.de>

Mário Gamito wrote:
> Hi,
> I needed to logrotate a fil named qmail-queue.log from qmail-scanner.
> So i've edit /etc/syslog.conf and changed it to:
> *.info;qmail-queue.none;auth.none;mail.none;authpriv.none;cron.none
>         /var/log/messages
> (...)
> # 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
think so.

> In the end all i got was the file not being rotated as well as
> /var/log/messages:
> 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...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20070323/ee7196d9/attachment-0005.sig>