From owner-cvs-src-old@FreeBSD.ORG Thu Jul 22 11:23:31 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 670B110657A6 for ; Thu, 22 Jul 2010 11:23:31 +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 54AAB8FC1A for ; Thu, 22 Jul 2010 11:23:31 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o6MBNVSo038833 for ; Thu, 22 Jul 2010 11:23:31 GMT (envelope-from simon@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o6MBNVcX038832 for cvs-src-old@freebsd.org; Thu, 22 Jul 2010 11:23:31 GMT (envelope-from simon@repoman.freebsd.org) Message-Id: <201007221123.o6MBNVcX038832@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to simon@repoman.freebsd.org using -f From: "Simon L. Nielsen" Date: Thu, 22 Jul 2010 11:23:18 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Thu, 22 Jul 2010 11:23:31 -0000 simon 2010-07-22 11:23:18 UTC FreeBSD src repository Modified files: usr.sbin/newsyslog newsyslog.8 newsyslog.c Log: SVN rev 210372 on 2010-07-22 11:23:18Z by simon 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. PR: bin/29363 MFC after: 3 weeks Revision Changes Path 1.54 +31 -0 src/usr.sbin/newsyslog/newsyslog.8 1.113 +236 -16 src/usr.sbin/newsyslog/newsyslog.c