Date: Wed, 3 Feb 1999 20:14:37 +1300 From: "Dan Langille" <junkmale@xtra.co.nz> To: freebsd-questions@FreeBSD.ORG Subject: duplication of syslog output (report) Message-ID: <19990203071534.LPUK678125.mta2-rme@wocker>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990203071534.LPUK678125.mta2-rme>