From owner-freebsd-hackers Wed May 10 17:47:20 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA11300 for hackers-outgoing; Wed, 10 May 1995 17:47:20 -0700 Received: from ldjpc.apana.org.au (ldjpc.apana.org.au [192.203.213.254]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id RAA11280 for ; Wed, 10 May 1995 17:46:36 -0700 Received: from ldjpc.apana.org.au (localhost [127.0.0.1]) by ldjpc.apana.org.au (8.6.9/8.6.9) with SMTP id KAA03832; Thu, 11 May 1995 10:15:27 +0930 Date: Thu, 11 May 1995 10:15:27 +0930 (CST) From: Lucas James To: Lucas James cc: freebsd-hackers@FreeBSD.org Subject: Re: Compression and rotation of log files In-Reply-To: <9505100250.AA08299@s1.elec.uq.oz.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@FreeBSD.org Precedence: bulk On Wed, 10 May 1995, Clary Harridge wrote: > How about using something like the following shell script for saving space > when the log files get rotated in daily and weekly cron scripts? [scripts deleted] If this has been discussed before, please accept my apologies.... Why don't we import the newsyslog utility (it has been in NetBSD for a while now.) . It has a central config point (you can say rotate XXX log every 5 days or rotate XXX log when it gets bigger than 5Meg). It was run from cron, if I remember correctly. -- Lucas James jj@ldjpc.apana.org.au