From owner-freebsd-questions Mon Sep 2 12:17:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0826437B400 for ; Mon, 2 Sep 2002 12:17:34 -0700 (PDT) Received: from smaug.rhavenn.net (smaug.rhavenn.net [209.150.195.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF0443E72 for ; Mon, 2 Sep 2002 12:17:33 -0700 (PDT) (envelope-from lists@rhavenn.net) Received: from ashram.rhavenn.net (ef3165bbc6fd4a157e1e2cdf77abd113@ashram.rhavenn.net [209.150.195.50]) by smaug.rhavenn.net (8.12.1/8.12.1) with ESMTP id g82JD2CF064328; Mon, 2 Sep 2002 14:13:02 -0500 (CDT) Content-Type: text/plain; charset="iso-8859-1" From: Henrik Hudson Reply-To: lists@rhavenn.net To: David Banning Subject: Re: logs take up too much space Date: Mon, 2 Sep 2002 14:25:26 -0500 User-Agent: KMail/1.4.2 Cc: questions@FreeBSD.ORG References: <20020901030500.A89971@skytrackercanada.com> <20020902143002.A11191@skytrackercanada.com> In-Reply-To: <20020902143002.A11191@skytrackercanada.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200209021425.26811.lists@rhavenn.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Rotating logs is also a solution. > > But most of the softwares rotate logs by default. > > Is it possible to change the default? Take a look at /etc/newsyslog.conf and the manpage for it, newsyslog. This should be able to let you change the rotation time, what size to rot= ate=20 and how many old ones to keep. You can of course add your own logs to rot= ate=20 if you need to. Henrik --=20 Henrik Hudson lists@rhavenn.net Note: Beware of Dragons - Thou art crunchy and taste good with ketchup. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message