From owner-freebsd-questions Mon Feb 9 15:48:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA25431 for questions-outgoing; Mon, 9 Feb 1998 15:48:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.iconz.co.nz (mail.iconz.co.nz [202.14.100.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA25389 for ; Mon, 9 Feb 1998 15:47:49 -0800 (PST) (envelope-from jonc@pinnacle.co.nz) Received: from news.iconz.co.nz (status.gen.nz [202.14.100.1]) by mail.iconz.co.nz (8.8.7/8.8.7) with ESMTP id MAA241120887068048; Tue, 10 Feb 1998 12:47:28 +1300 (NZDT) Received: (from uucp@localhost) by news.iconz.co.nz (8.8.5/8.8.5) with UUCP id MAA07483; Tue, 10 Feb 1998 12:47:26 +1300 Received: from tui.pinnacle.co.nz (tui.pinnacle.co.nz [202.37.163.3]) by kakapo.pinnacle.co.nz (8.8.8/8.8.8) with ESMTP id MAA17551; Tue, 10 Feb 1998 12:19:58 +1300 (NZDT) Received: from localhost (jonc@localhost) by tui.pinnacle.co.nz (8.8.8/8.8.8) with SMTP id MAA01388; Tue, 10 Feb 1998 12:19:58 +1300 (NZDT) X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs Date: Tue, 10 Feb 1998 12:19:57 +1300 (NZDT) From: Jonathan Chen To: Frank Griffith cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp.log file gets too big! In-Reply-To: <01BD356E.5D6C5F60@fast1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 9 Feb 1998, Frank Griffith wrote: > I have FreeBSD 2.2.5 running on a 486-66 system. The system > uses two (2) 325 meg hard drives. > > I am using the FreeBSD machine as a gateway to the Internet > for some Windows 95 machines. Whenever I download a > bunch of files the system halts because the /var directory > gets overloaded. I look into the file system and find this huge > file ppp.log. It seems to be the problem, so I rm it. But then > the system reports errors when running ppp even after I reboot. > > How can I keep this ppp.log file from getting too big? or How can I > effectively clean it up? Aside from trimming your debug logging to something less chattier, you can also check out newsyslog(8), and its config file /etc/newsyslog.conf. Add an entry in there for your ppp.log file. -- Jonathan Chen ---------------------------------------------------------------------- "Part of the secret of success in life is to eat what you like and let the food fight it out inside" - Mark Twain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message