From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 06:35:45 2003 Return-Path: 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 AB99D37B401 for ; Sun, 13 Jul 2003 06:35:45 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1468D43FB1 for ; Sun, 13 Jul 2003 06:35:45 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[66.30.200.37]) by comcast.net (rwcrmhc11) with ESMTP id <20030713133544013006q196e>; Sun, 13 Jul 2003 13:35:44 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h6DDZeP0078181; Sun, 13 Jul 2003 09:35:40 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h6DDZdp3078178; Sun, 13 Jul 2003 09:35:39 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Hasse References: <200307102032.35225.webmaster@swedehost.com> From: Lowell Gilbert Date: 13 Jul 2003 09:35:39 -0400 In-Reply-To: <200307102032.35225.webmaster@swedehost.com> Message-ID: <44fzla7dn8.fsf@be-well.ilk.org> Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: dhclient filling up my logfile. Help needed. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 13:35:45 -0000 Hasse writes: > Running FreeBSD 4.8, all files are up to date, cvsuped yesterday, and I'm > connected to the net via ADSL. Dynamic IP, but hardly ever change. > dhclient is filling up my /var/log/messages. > Every 10th minute it makes a new request and logging it. That's a pretty annoying ISP you've got there. > I've tried to request a longer lease time in my dhclient.conf without any > luck, and I've tried to get it to log to another logfile named dhclient, > resulting in it logging to two files. dhclient and /var/log/messages. Yep, that's what the !dhclient syntax is for... > I've tried to talk to my ISP about this problem, without any luck. > I think most of the computers connected to this network are win-boxes, > and they don't seem to have this problem. ( Don't log this kind of info ) Right. The ISP is trying to be able to make major changes to their network without needing to plan ahead for it. > How can I keep the program from logging all this info ? > Not really a problem, but very annoying. What I did was to put all of the user.notice messages into a separate file from the main log. *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;user.warning /var/log/messages user.notice /var/log/user.messages Remember to create user.messages first, and to set up some log rotation for it.