From owner-freebsd-current@FreeBSD.ORG Mon Jun 14 17:56:53 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D44F716A4CE for ; Mon, 14 Jun 2004 17:56:53 +0000 (GMT) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82F8043D49 for ; Mon, 14 Jun 2004 17:56:53 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i5EHuqOd027937; Mon, 14 Jun 2004 13:56:53 -0400 Mime-Version: 1.0 X-Sender: gad@gilead.netel.rpi.edu (Unverified) Message-Id: In-Reply-To: References: <200406131256.25362.wes@softweyr.com> Date: Mon, 14 Jun 2004 13:56:51 -0400 To: Brad Knowles From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-current@FreeBSD.org Subject: Re: Minor HEADSUP - "New order" for newsyslog X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 17:56:53 -0000 At 10:00 AM +0200 6/14/04, Brad Knowles wrote: >At 6:41 PM -0400 2004-06-13, Garance A Drosehn wrote: > >> So, maybe something like "log.t2004f14a" instead of "log.0". >> I could obviously spell out the time more, but that would >> be an even longer suffix... > > Could this be a configuration option? For maximum >compression, maybe base64 the ctime, but for maximum >readability use YYYY-MM-DD? Several people have mentioned alternate formats that they would like to see, so I plan to have some flexibility in the format. Since I have not implemented it yet, I cannot say just how flexible it might be... :-) Note that my original example is not base64 of the ctime. It is "base26" (using just the alphabet) for the month and the hour, but standard decimal for the year and the day. So, it is still somewhat readable once you get used to it. But I do intend to support some alternate formats. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA