From owner-freebsd-questions Mon Jul 2 13:16:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp1.mastery.ca (comp1.mastery.ca [209.202.88.60]) by hub.freebsd.org (Postfix) with ESMTP id 70CBD37B401 for ; Mon, 2 Jul 2001 13:16:20 -0700 (PDT) (envelope-from mail@max-info.net) Received: from 78kw954 (dyn216-8-131-5.ADSL.mnsi.net [216.8.131.5]) (authenticated) by comp1.mastery.ca (8.11.3/8.11.1) with ESMTP id f62KG3Q17840; Mon, 2 Jul 2001 16:16:03 -0400 (EDT) (envelope-from mail@max-info.net) Message-ID: <014201c10333$7c098a60$3200a8c0@Home> From: "Ryan Masse" To: "Jason Prosser" Cc: "FreeBSD-Questions" References: Subject: Re: Stupid log file problems... Date: Mon, 2 Jul 2001 16:12:26 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 you may want to try; 1. delete, move, copy, gzip whatever /var/log/security 2. touch /var/log/security < creates a new empty file in that location 3. killall -HUP syslogd < restarts syslog 4. ipfw resetlog < resets and restarts the ipfw logging that should work.. Ryan > I am running IPFW with logging feature, on 4.2-Rel. > > This logs to the file /var/security. It was getting to big so I figured to > delete it and then make a new one and it should work... Wrong!. > > What do I need to do to A: get the logging feature to work again to any > file. B: What would I need to do to clean out the file periodically. (I am > looking at copying it to another location and then emptying the actual > file.) > > Thank you for your help ahead of time. > > JP > jprosser@teraglobal.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message