From owner-freebsd-stable Fri Jul 6 18:31: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from postal.incyte.com (postal.incyte.com [198.31.37.2]) by hub.freebsd.org (Postfix) with ESMTP id 5B33037B405 for ; Fri, 6 Jul 2001 18:31:04 -0700 (PDT) (envelope-from bl@incyte.com) Received: from blah.incyte.com (blah.incyte.com [10.99.1.40]) by postal.incyte.com (8.11.1/8.11.1) with ESMTP id f671V0h12318; Fri, 6 Jul 2001 18:31:00 -0700 (PDT) Received: from blah.incyte.com (bl@localhost) by blah.incyte.com (8.9.1a/8.9.1) with ESMTP id SAA208868; Fri, 6 Jul 2001 18:31:03 -0700 (PDT) Message-Id: <200107070131.SAA208868@blah.incyte.com> X-Authentication-Warning: blah.incyte.com: bl owned process doing -bs X-Mailer: exmh version 2.0.2 2/24/98 To: Forrest Aldrich Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Suggestion for newsyslog.c In-Reply-To: Your message of "Fri, 06 Jul 2001 20:51:51 EDT." <5.1.0.14.2.20010706204719.021f8540@216.67.14.69> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 06 Jul 2001 18:31:03 -0700 From: "Brett G. Lemoine" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Suggested optional feature for newsyslog.c is to enable timestamp (or > similar) in the renamed files. > > For example: > > maillog.0.gz > > would become > > maillog.0.070701.gz > > The format could perhaps be user-specified somewhere in > newsyslog.conf. It groks different time formats, so support for that is > already there. > > This would allow someone to accumilate a large archive of logs (sometimes > necessary) without having to manually rename (and move, before > rotation). This could negate the current rotation of the log files... or > it could be altered as well to be optional in the newsyslog.conf file. If someone's going to go that far, it'd be nice to be able to rotate old logs into dated directory trees as well. bl -- //====== Brett G. Lemoine -=- ===============================\\ || Info. Systems Architect | || ||Core Unix System Services| Sarcasm is just one more service we offer. || || Incyte Genomics | || || Palo Alto, California | || |+-------------------------+-------------------------------------------------+| \\== PGP Key Fingerprint: 68 A1 2A 2D 82 CE E9 70 5B 80 D1 11 EC F3 FB 85 ==// To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message