Date: Sat, 21 Oct 2006 09:33:34 +0200 (CEST) From: Zbigniew Szalbot <zbyszek@szalbot.homedns.org> To: freebsd-questions@freebsd.org Subject: log rotation, one process doesn't know about it Message-ID: <20061021091555.O30081@192.168.11.51>
next in thread | raw e-mail | index | archive | help
Hello, I have set up dovecot to log its data to the same log as exim does. This works fine till midnight when it comes to log rotation. Then exim still logs to its log but dovecot ignores it. Now, I have done the homework, found that there is newsyslog.conf and read about flags. And I have the following entry in this file: /var/log/exim/mainlog mailnull:mail 640 60 * @T00 ZC I used to have a flag ZN but I read that the N flag actually makes syslogd ignore to inform other processes about a new file being rotated. So I removed it and left only Z, restarted syslogd, but no joy after midnight. I then added C out of sheer dispair but dovecot still ignores the new log after midnight. Could anyone suggest what I should do in order to make this work as intended? Many thanks in advance! -- Zbigniew Szalbot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061021091555.O30081>