From owner-svn-src-head@FreeBSD.ORG Fri Jul 23 09:06:21 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11F6E1065676; Fri, 23 Jul 2010 09:06:21 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id 50A778FC21; Fri, 23 Jul 2010 09:06:19 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 7B6C845FA2; Fri, 23 Jul 2010 11:06:18 +0200 (CEST) Received: from localhost (pdawidek.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id B620C45F21; Fri, 23 Jul 2010 11:06:13 +0200 (CEST) Date: Fri, 23 Jul 2010 11:05:43 +0200 From: Pawel Jakub Dawidek To: "Simon L. Nielsen" Message-ID: <20100723090543.GA1756@garage.freebsd.pl> References: <201007221123.o6MBNIl8030833@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <201007221123.o6MBNIl8030833@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r210372 - head/usr.sbin/newsyslog X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2010 09:06:21 -0000 --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--