From owner-cvs-src-old@FreeBSD.ORG Sun Nov 21 11:10:20 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 603BC106566B for ; Sun, 21 Nov 2010 11:10:20 +0000 (UTC) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4DBE08FC1E for ; Sun, 21 Nov 2010 11:10:20 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oALBAKkr012460 for ; Sun, 21 Nov 2010 11:10:20 GMT (envelope-from simon@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oALBAK41012459 for cvs-src-old@freebsd.org; Sun, 21 Nov 2010 11:10:20 GMT (envelope-from simon@repoman.freebsd.org) Message-Id: <201011211110.oALBAK41012459@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to simon@repoman.freebsd.org using -f From: "Simon L. Nielsen" Date: Sun, 21 Nov 2010 11:10:09 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.8 newsyslog.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2010 11:10:20 -0000 simon 2010-11-21 11:10:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) usr.sbin/newsyslog newsyslog.8 newsyslog.c Log: SVN rev 215624 on 2010-11-21 11:10:09Z by simon 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. Revision Changes Path 1.51.22.5 +31 -0 src/usr.sbin/newsyslog/newsyslog.8 1.108.2.6 +236 -16 src/usr.sbin/newsyslog/newsyslog.c