From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 10 12:23:40 2007 Return-Path: Delivered-To: FreeBSD-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1F4D16A418 for ; Fri, 10 Aug 2007 12:23:40 +0000 (UTC) (envelope-from gouders@et.bocholt.fh-gelsenkirchen.de) Received: from alice.et.bocholt.fh-ge.de (alice.et.bocholt.fh-gelsenkirchen.de [193.175.197.63]) by mx1.freebsd.org (Postfix) with ESMTP id 2B64213C442 for ; Fri, 10 Aug 2007 12:23:39 +0000 (UTC) (envelope-from gouders@et.bocholt.fh-gelsenkirchen.de) Received: from musashi.et.bocholt.fh-gelsenkirchen.de (musashi.et.bocholt.fh-gelsenkirchen.de [193.175.197.95]) by alice.et.bocholt.fh-ge.de (8.13.7/8.13.7) with ESMTP id l7AC92Mq015241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Aug 2007 14:09:02 +0200 Received: from localhost (localhost [127.0.0.1]) by musashi.et.bocholt.fh-gelsenkirchen.de (8.14.1/8.14.1) with ESMTP id l7AC8lxq069187; Fri, 10 Aug 2007 14:08:47 +0200 (CEST) (envelope-from hank@musashi.et.bocholt.fh-gelsenkirchen.de) Message-Id: <200708101208.l7AC8lxq069187@musashi.et.bocholt.fh-gelsenkirchen.de> To: Artis Caune In-reply-to: <46BC49DB.8060509@latnet.lv> References: <46BC49DB.8060509@latnet.lv> Comments: In-reply-to Artis Caune message dated "Fri, 10 Aug 2007 14:19:55 +0300." Date: Fri, 10 Aug 2007 14:08:47 +0200 From: Dirk GOUDERS X-Bounce: 0/8 X-Scanned-By: MIMEDefang 2.57 on 192.168.0.63 Cc: FreeBSD-hackers@freebsd.org Subject: Re: [PATCH] newsyslog - don't compress first log file X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 12:23:40 -0000 > How about aditional flag ("X") to newsyslog, which don't compress first > log file? How about using the flag "0" similar to that in newsyslog written by Theodore Ts'o of MIT Project Athena: 0 The 0 flag means that the most recent archive of the log file (i.e. the one that ends in ``.0'') should not be compressed even when the Z flag is given. (This flag may also be specified as P for compatability with NetBSD.) This flag is necessary when managing log files written directly to by long-running processes (eg. smail, httpd, etc.). This flag also makes it more convenient to browse through the most recently archived log file without hav- ing to first uncompress it or use tools like zmore, or zgrep, etc. Best regards, Dirk