From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 21:22:50 2003 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 4262D16A4B3 for ; Thu, 16 Oct 2003 21:22:50 -0700 (PDT) Received: from hotmail.com (bay8-f111.bay8.hotmail.com [64.4.27.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id B419D43FBD for ; Thu, 16 Oct 2003 21:22:49 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 16 Oct 2003 21:22:49 -0700 Received: from 203.199.109.165 by by8fd.bay8.hotmail.msn.com with HTTP; Fri, 17 Oct 2003 04:22:49 GMT X-Originating-IP: [203.199.109.165] X-Originating-Email: [unixtools@hotmail.com] From: "Sunil Sunder Raj" To: chael@southgate.ph.inter.net Date: Fri, 17 Oct 2003 09:52:49 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 17 Oct 2003 04:22:49.0603 (UTC) FILETIME=[52F77530:01C39466] cc: freebsd-questions@freebsd.org Subject: Re: logfile rotate 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: Fri, 17 Oct 2003 04:22:50 -0000 Hi, /etc/newsyslog.conf is the file you need. For eg. If you need a file rotated monthly on the first day of the month. /var/log/MYLOGFILE 600 12 * $M1D0 Z Regards SSR >From: >To: >Subject: logfile rotate >Date: Fri, 17 Oct 2003 11:04:10 +0800 > >Hello, > >What config file is responsible for the rotation of logs? I have a logfile >I need to rotate every 24 hours (it's not squid's). Thanks in advance. > >chael >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Three simple steps. They guarantee your safety. http://server1.msn.co.in/features/general/SMBvirus/index.asp Protect yourself against the SMB.EXE virus.