/var/log/messages filling up with DHCPDISCOVER messages

Stephen Allen sdafreebsduk at rowyerboat.com
Sun Oct 7 16:46:40 PDT 2007

/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?

Many thanks,

More information about the freebsd-questions mailing list