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. Ralph
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos