/var/log/messages filling up with DHCPDISCOVER messages
lists at qwirky.net
Mon Oct 8 07:41:58 PDT 2007
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):
Which should log everything for local7 except notice. See man syslog.conf(5)
lists dot qwirky dot net
More information about the freebsd-questions