From owner-freebsd-stable@FreeBSD.ORG Sat Dec 6 23:30:23 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 94EBC16A4CE for ; Sat, 6 Dec 2003 23:30:23 -0800 (PST) Received: from smtp1.eunet.yu (smtp1.eunet.yu [194.247.192.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A9E243FCB for ; Sat, 6 Dec 2003 23:30:20 -0800 (PST) (envelope-from kolicz@eunet.yu) Received: from smtp1.EUnet.yu (root@localhost) by smtp1.eunet.yu (8.12.10/8.12.10) with SMTP id hB77UJUQ006810 for ; Sun, 7 Dec 2003 08:30:19 +0100 Received: from kolic.net (P-2.63.EUnet.yu [213.240.2.63]) by smtp1.eunet.yu (8.12.10/8.12.10) with SMTP id hB77UH7A006750 for ; Sun, 7 Dec 2003 08:30:18 +0100 Received: by kolic.net (sSMTP sendmail emulation); Sun, 7 Dec 2003 08:30:01 +0100 From: "Zoran Kolic" Date: Sun, 7 Dec 2003 08:30:01 +0100 To: freebsd-stable Message-ID: <20031207072728.GA623@kolic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: Sun, 07 Dec 2003 07:30:23 -0000 Dear Michael! You know, that every file has additional data about time, when it was created etc. If you have good reason to read or ar- chive log files that way, put it on separate loca- tion and use cron to make that file. Change log file in /var/log every morning at ie. 7 am. Cron would read file named "my.log.0.gz" and rename it as "my.log.date.gz". date with"+" will make all for you (I suppose). Better to say, not cron, but little perl or shell script you write. After all put it on CD and forget. You could use cron to make your CD? I don't like the idea, but it's possible. Best regards ZK