From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 11:50:31 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 0453137B401 for ; Sun, 13 Jul 2003 11:50:31 -0700 (PDT) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD0C343F93 for ; Sun, 13 Jul 2003 11:50:29 -0700 (PDT) (envelope-from webmaster@swedehost.com) Received: from thor.swedehost.com (h129n2fls33o804.telia.com [217.209.211.129]) by mailb.telia.com (8.12.9/8.12.9) with ESMTP id h6DIoQIC021746; Sun, 13 Jul 2003 20:50:26 +0200 (CEST) X-Original-Recipient: questions@freebsd.org From: Hasse Organization: The Valhalla Project To: Lowell Gilbert Date: Sun, 13 Jul 2003 20:50:42 +0200 User-Agent: KMail/1.5.2 References: <200307102032.35225.webmaster@swedehost.com> <44fzla7dn8.fsf@be-well.ilk.org> In-Reply-To: <44fzla7dn8.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307132050.42927.webmaster@swedehost.com> cc: questions@freebsd.org Subject: Re: dhclient filling up my logfile. Help needed. < Solved > 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 18:50:31 -0000 On Sunday 13 July 2003 15.35, Lowell Gilbert wrote: > 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. > _______________________________________________ Thx a lot Lowell. That did the trick. I've been reading man-pages and googling to my eyes was bleeding, but couldn't get this one to play along. Found the same problem in the FreeBSD mailarchive, searching for " dhclient too verbose " , but no solution. I'm very satisfied with this way to solve it, cause I won't miss any important loginfo. Best regards Geir Svalland.