svn commit: r215624 - stable/8/usr.sbin/newsyslog

Simon L. B. Nielsen simon at nitro.dk
Sun Nov 21 18:08:30 UTC 2010


On 21 Nov 2010, at 13:20, Oliver Pinter wrote:

> MFC or MFS to 7-STABLE this patch?

Hey,

I currently have no plans to merge it to 7, as I mostly considered 7 dead at this point and unfortunately have limited time.

If somebody else want to merge it that's fine with me.

> On 11/21/10, Simon L. Nielsen <simon at freebsd.org> wrote:
>> Author: simon
>> Date: Sun Nov 21 11:10:09 2010
>> New Revision: 215624
>> URL: http://svn.freebsd.org/changeset/base/215624
>> 
>> Log:
>>  MFC r210372:
>> 
>>  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.
>> 
>> Modified:
>>  stable/8/usr.sbin/newsyslog/newsyslog.8
>>  stable/8/usr.sbin/newsyslog/newsyslog.c
>> Directory Properties:
>>  stable/8/usr.sbin/newsyslog/   (props changed)

-- 
Simon L. B. Nielsen



More information about the svn-src-all mailing list