From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 05:56:19 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DE4B16A4CE for ; Mon, 15 Mar 2004 05:56:19 -0800 (PST) Received: from destiny.chrononomicon.com (mail.chrononomicon.com [65.193.73.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F5443D1D for ; Mon, 15 Mar 2004 05:56:18 -0800 (PST) (envelope-from bsilver@chrononomicon.com) Received: from [IPv6:::1] (destiny.chrononomicon.com [192.168.1.42]) by destiny.chrononomicon.com (Postfix) with ESMTP id 76B9D1FDFF; Mon, 15 Mar 2004 08:56:09 -0500 (EST) In-Reply-To: <20040315123747.GA60751@ei.bzerk.org> References: <1079352005.663.243.camel@ovirt.dyndns.ws> <20040315123747.GA60751@ei.bzerk.org> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <83EC4CBF-7688-11D8-A92D-000A956D2452@chrononomicon.com> Content-Transfer-Encoding: 7bit From: Bart Silverstrim Date: Mon, 15 Mar 2004 08:56:10 -0500 To: Ruben de Groot X-Mailer: Apple Mail (2.612) cc: FreeBSD Questions Mailing List Subject: Re: log rotation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 13:56:19 -0000 On Mar 15, 2004, at 7:37 AM, Ruben de Groot wrote: > On Mon, Mar 15, 2004 at 10:30:05PM +1030, Wayne Sierke typed: >> On Mon, 2004-03-15 at 10:37, Bart Silverstrim wrote: >>> 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)? >>> >> Having recently installed clamav I was interested in getting log >> rotation enabled too (5.2-RELEASE). As an experiment I set the when >> entry in newsyslog.conf to 1 hour. After the log rotation I'm not >> getting any new entries written to the logfile. I believe I saw >> somewhere someone claiming that logrotate was working for them (but >> probably on Linux). Might have to try that instead. > > Are you using syslogd for logging (LogSyslog in clamav.conf) ? > Log rotation through newsyslog is working fine here. > What is your clamav.conf and newsyslog config file setup? (and what release of FreeBSD? I'm using 4.9-p3...should work, shouldn't it?) Thanks!