From owner-freebsd-questions Mon Mar 5 7:59:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id B876B37B719 for ; Mon, 5 Mar 2001 07:59:55 -0800 (PST) (envelope-from wmoran@iowna.com) Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f25FvHL12057; Mon, 5 Mar 2001 10:57:18 -0500 (EST) Message-ID: <3AA3B78F.D4C6DFAB@iowna.com> Date: Mon, 05 Mar 2001 10:58:07 -0500 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Fengping Li Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Why /var/log/mgetty.cuaa1 takes 11G References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Fengping Li wrote: > > Dear friends, > > I have FreeBSD 4.0 release running on a > 16GB hard disk but I found a file > /var/log/mgetty.cuaa1 takes me > 11GB !!!! > > Ideas or suggestions? Any combination of the below will help: 1. Reduce the logging level of mgetty so it dosen't write so much. 2. Check to make sure it's not logging errors, if it is: correct them. 3. Configure newsyslog to rotate that log periodically and delete old logs after a certain amount of time. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message