Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 11:05:43 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Simon L. Nielsen" <simon@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r210372 - head/usr.sbin/newsyslog
Message-ID:  <20100723090543.GA1756@garage.freebsd.pl>
In-Reply-To: <201007221123.o6MBNIl8030833@svn.freebsd.org>
References:  <201007221123.o6MBNIl8030833@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   Add support for creating the archived log filenames using a time-stamp
>   instead of the traditional simple counter.
>  =20
>   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.
>  =20
>   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.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--ibTvN161/egqYuK8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkxJW2cACgkQForvXbEpPzSM1ACgyeW29j4H2WU+hTwS2wffo4Z5
rQYAn3GuH/hVyfQta3XnOM/ESWSB6LM6
=SfRa
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--



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