svn commit: r210372 - head/usr.sbin/newsyslog
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Jul 23 09:06:21 UTC 2010
On Thu, Jul 22, 2010 at 11:23:18AM +0000, Simon L. Nielsen wrote:
> Author: simon
> Date: Thu Jul 22 11:23:18 2010
> New Revision: 210372
> URL: http://svn.freebsd.org/changeset/base/210372
>
> Log:
> Add support for creating the archived log filenames using a time-stamp
> instead of the traditional simple counter.
>
> Using the time-stamp based file-names, once a log file is archived, it
> will not change name until it is deleted. This means that many backup
> systems will only perform one backup of the archived log file, instead
> for performing a new backup of the logfile upon each logfile rotation.
>
> This implementation is separate from the patches in the mentioned PR,
> as I wasn't aware of the existence of the PR until after I had
> implemented the same functionality as the patches in the PR provide.
> Unlike the PR, this new code does honor the 'log count' in
> newsyslog.conf so old logfiles are deleted. This new code does not
> currently support never deleting the archived logfiles.
Very, very useful. Thanks! I'd love to see it being the default.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20100723/9c51977f/attachment.pgp
More information about the svn-src-all
mailing list