From owner-freebsd-questions Tue Feb 2 23:14:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12610 for freebsd-questions-outgoing; Tue, 2 Feb 1999 23:14:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mta2-rme.xtra.co.nz (mta.xtra.co.nz [203.96.92.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA12597 for ; Tue, 2 Feb 1999 23:14:40 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.210.87]) by mta2-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990203071534.LPUK678125.mta2-rme@wocker> for ; Wed, 3 Feb 1999 20:15:34 +1300 From: "Dan Langille" Organization: The FreeBSD Diary To: freebsd-questions@FreeBSD.ORG Date: Wed, 3 Feb 1999 20:14:37 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: duplication of syslog output (report) Reply-to: junkmale@xtra.co.nz X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990203071534.LPUK678125.mta2-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm using /etc/syslog.conf to direct my dhcp messages to /var/log/dhcp.log. That works. But the entries are being duplicated to /var/log/messages. I'm quite sure I need a facilty/program specified on the /var/log/messages line of /etc/syslog.conf but I've not been able to get it right. For example, the following lines were found in both files: Jan 30 10:00:48 ns dhclient: DHCPREQUEST on ed0 to 202.27.184.4 port 67 Jan 30 10:50:37 ns dhclient: DHCPREQUEST on ed0 to 202.27.184.4 port 67 Jan 30 11:44:14 ns dhclient: DHCPREQUEST on ed0 to 202.27.184.4 port 67 Here's my /etc/syslog.conf. I'm using 2.2.8-stable. # $Id: syslog.conf,v 1.4.2.5 1998/10/14 22:02:58 nate Exp $ # # Spaces are NOT valid field separators in this file. # Consult the syslog.conf(5) manpage. *.*;mail.none;cron.none;kern.none;local0.none;ftp.none;auth.none;authpriv.n one;ntp.none /var/log/messages mail.* /var/log/maillog cron.* /var/cron/log kern.* /var/log/kernel.log auth.*;authpriv.* /var/log/auth.log ntp.* /var/log/ntp.log # uncomment these if you're running inn # news.crit /var/log/news/news.crit # news.err /var/log/news/news.err # news.notice /var/log/news/news.notice local0.* /var/log/tcpd.log local0.info;local0.debug /var/log/firewall.log local0.err /var/log/firewall.err ftp.* /var/log/ftp.log !startslip *.* /var/log/slip.log !ppp *.* /var/log/ppp.log !popper *.* /var/log/popper.log !dhclient *.* /var/log/dhcp.log -- Dan Langille The FreeBSD Diary http://www.FreeBSDDiary.com/freebsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message