Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jul 2001 18:31:03 -0700
From:      "Brett G. Lemoine" <bl@incyte.com>
To:        Forrest Aldrich <forrie@forrie.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Suggestion for newsyslog.c 
Message-ID:  <200107070131.SAA208868@blah.incyte.com>
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> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 -=- <bl@incyte.com> ===============================\\
|| 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107070131.SAA208868>