From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 21:31:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F3331065678 for ; Mon, 13 Oct 2008 21:31:16 +0000 (UTC) (envelope-from walt@wump.org) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id 27CC38FC1C for ; Mon, 13 Oct 2008 21:31:16 +0000 (UTC) (envelope-from walt@wump.org) Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20081013213110.XLXR4798.mta31.charter.net@aarprv06.charter.net>; Mon, 13 Oct 2008 17:31:10 -0400 Received: from [10.0.0.10] (really [68.116.98.9]) by aarprv06.charter.net with ESMTP id <20081013213109.FLHO128.aarprv06.charter.net@[10.0.0.10]>; Mon, 13 Oct 2008 17:31:09 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> References: <26face530810110933o1403705o625586ac53b309fb@mail.gmail.com> Date: Mon, 13 Oct 2008 14:30:49 -0700 To: "Kelly Jones" , freebsd-questions@freebsd.org From: Walt Pawley Content-Type: text/plain; charset="us-ascii" X-Chzlrs: 0 Cc: Subject: Re: newsyslog naming scheme could be improved? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 21:31:16 -0000 At 9:33 AM -0700 10/11/08, Kelly Jones wrote: >newsyslog rotates logfiles so that messages.0.gz is yesterday's file, >messages.1.gz is the day before's, etc. > >This is ugly. IMHO, this is worse than merely ugly. I gave up "rotating" log files a long time ago when I kept running into problems that needed extensive time periods worth of log data with which to resolve issues. I use some modifications to the periodic scripts to do the log data archiving with time related names. Of course, if you're generating megabytes of compressed log data every day, this is likely impractical but it works well for systems I normally use. -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975