From owner-freebsd-current Thu Feb 5 18:28:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA26822 for current-outgoing; Thu, 5 Feb 1998 18:28:06 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA26757 for ; Thu, 5 Feb 1998 18:27:58 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.8) id AAA12892; Fri, 6 Feb 1998 00:27:52 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199802060227.AAA12892@gaia.coppe.ufrj.br> Subject: Re: PATCH: new option for newsyslog In-Reply-To: <199802060000.RAA27563@usr09.primenet.com> from Terry Lambert at "Feb 6, 98 00:00:12 am" To: tlambert@primenet.com (Terry Lambert) Date: Fri, 6 Feb 1998 00:27:52 -0200 (EDT) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe current" #define quoting(Terry Lambert) // When debugging problems that show up in the logs, it's useful to // be able to zero the logs. Yes, but does rotating ALL the logs really helps ? For example, I don't want to rotate the maillog if the problem is not concerned to mail system. Maybe you could define another file, but then you could also define another set of ranges for this newsyslog file, so small that almost always the log would rotate. If it does not rotate, then it's probably not worth doing so. For example, a file with more than 1K should be rotated. A file with less than 1K is not big enough to make trouble reading it. If it's not enough, just make newsyslog support rotate size or rotate time values as zero. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67