From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 04:35:53 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 1E57516A4CE for ; Mon, 15 Mar 2004 04:35:53 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D22A43D39 for ; Mon, 15 Mar 2004 04:35:52 -0800 (PST) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.10/8.12.10) with ESMTP id i2FCbmPS061160; Mon, 15 Mar 2004 13:37:48 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.12.10/8.12.10/Submit) id i2FCblGf061159; Mon, 15 Mar 2004 13:37:47 +0100 (CET) (envelope-from mail25@bzerk.org) X-Authentication-Warning: ei.bzerk.org: bulk set sender to mail25@bzerk.org using -f Date: Mon, 15 Mar 2004 13:37:47 +0100 From: Ruben de Groot To: Wayne Sierke Message-ID: <20040315123747.GA60751@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Wayne Sierke , Bart Silverstrim , FreeBSD Questions Mailing List References: <1079352005.663.243.camel@ovirt.dyndns.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1079352005.663.243.camel@ovirt.dyndns.ws> User-Agent: Mutt/1.4.1i cc: FreeBSD Questions Mailing List cc: Bart Silverstrim 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 12:35:53 -0000 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.