Re: /var/log/messages filling up with DHCPDISCOVER messages
- From: Jeff Royle <lists@xxxxxxxxxx>
- Date: Mon, 08 Oct 2007 10:24:22 -0400
Stephen Allen wrote:
/usr/local/etc/dhcpd.conf is configured with
"log-facility local7;"
and /etc/syslog.conf is also configured with
"local7.* /var/log/dhcpd.log"
However, /var/log/messages is filling up with "DHCPDISCOVER / no free
leases" messages for those clients that are unknown to the DHCP server
(eg. on a different subnet). I suspect that these messages are being
caught by "*.notice" which is why they end up in /var/log/messages.
Is there a way to prevent this happening?
You could try filtering them out of syslog like so (in your syslogd.conf):
"local7.!=notice /var/log/dhcpd.log"
Which should log everything for local7 except notice. See man syslog.conf(5)
Cheers,
Jeff Royle
lists dot qwirky dot net
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- References:
- /var/log/messages filling up with DHCPDISCOVER messages
- From: Stephen Allen
- /var/log/messages filling up with DHCPDISCOVER messages
- Prev by Date: freezing, hard locking, and debug.mpsafenet=0
- Next by Date: Re: help: the Input problem
- Previous by thread: /var/log/messages filling up with DHCPDISCOVER messages
- Next by thread: Re: /var/log/messages filling up with DHCPDISCOVER messages
- Index(es):