Date: Sun, 14 Mar 2004 19:07:04 -0500 From: Bart Silverstrim <bsilver@chrononomicon.com> To: FreeBSD Questions Mailing List <freebsd-questions@FreeBSD.ORG> Subject: log rotation Message-ID: <B0901A16-7614-11D8-96B0-000A956D2452@chrononomicon.com>
next in thread | raw e-mail | index | archive | help
Quick questions: I've run across some mumblings in the ClamAV lists about Clamd not logging anymore (or not scanning anymore?) when the maximum logfile size is reached. Is anyone in FreeBSD running this, and if so, are you using Newsyslog to rotate the logs? What are your settings (how would I set it up)? Elaborations: I didn't know what would be a safe way to do this, since I also have an every-four-hour update running for the clamav and I didn't know what would happen if A) the update for the database falls at a moment when the log is rotating B) I didn't find the "proper" way to rotate the log so Clamd doesn't have an open file handle on a log being rotated and/or have clamd try writing to the file while it's being rotated C) how can clamd have the file rotated without being "temporarily disabled" running into problems because that disabled clamd may be called on in that period by amavisd-new to do a virus scan on a mail message... Anyone got a good log rotation scheme in place to handle this automatically without running into problems? Thanks! -Bart
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B0901A16-7614-11D8-96B0-000A956D2452>