From owner-freebsd-stable@FreeBSD.ORG Sat Dec 6 05:39:57 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4015C16A4CE for ; Sat, 6 Dec 2003 05:39:57 -0800 (PST) Received: from smtp1.powertech.no (smtp1.powertech.no [195.159.0.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6CFD43F75 for ; Sat, 6 Dec 2003 05:39:55 -0800 (PST) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from kg-work.kg4.no (s01i36-0251.no.powertech.net [195.159.185.251]) by smtp1.powertech.no (Postfix) with SMTP id 5BAC1859B for ; Sat, 6 Dec 2003 14:39:53 +0100 (CET) Date: Sat, 6 Dec 2003 14:38:46 +0100 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-Id: <20031206143846.01bfe5ce.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20031206101611.GA21554@brenner.msresearch.org> References: <20031206101611.GA21554@brenner.msresearch.org> X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd4.8) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq;m"_0v;~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: newsyslogwithdate-extension-logfiles X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2003 13:39:57 -0000 On Sat, 6 Dec 2003 11:16:12 +0100 michael wrote: > Now i have the wish that the 'newsyslog' uses date-extensions > in the 'rotated' logfiles. > eg: > > messages.0.gz should be messages.20031206.gz and so on... > > or any other extension that will give the date in the name of file? > > is this possible with the newsyslog? > I think no! And why? Maybe you need to think about your question again. Why is it that you wish the files to be named with a date? That is, what are you going to use it for? Remember, it is quite easy to make a little script that will find the date of a file from a 'ls -l' (or something like that) command. Will that help you? -- Yours, Torfinn Ingolfsen Norway