From owner-freebsd-questions Wed May 1 12:18:31 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA10243 for questions-outgoing; Wed, 1 May 1996 12:18:31 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA10218 for ; Wed, 1 May 1996 12:18:25 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA09979; Wed, 1 May 1996 12:10:21 -0700 From: Terry Lambert Message-Id: <199605011910.MAA09979@phaeton.artisoft.com> Subject: Re: /etc/monthly, /etc/daily -- log rotation To: root@fledge.watson.org (System Administrator) Date: Wed, 1 May 1996 12:10:21 -0700 (MST) Cc: questions@freebsd.org In-Reply-To: from "System Administrator" at May 1, 96 10:48:35 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > While perusing a BSDI system I used to administrate, I found the > following code in /etc/monthly and /etc/daily that seemed to make a lot > more sense that some of the stuff I saw in our equivilant files: [ ... ] > Calling is done as follows: > > rotate /var/log/maillog 6 5 4 3 2 1 0 > rotate /var/log/wtmp 6 5 4 3 2 1 0 > rotate /var/log/popper 4 3 2 1 0 > > Etc. It seems a lot more modular and configurable, etc. It certainly > makes the script files seem more readable -- maybe we should consider > adopting a similar rotate call? Too bad you posted their code and we are all contaminated. 8-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.