Jim Hyslop wrote:
Hi, I have configured my dhcp.conf to use the local7 facility for logging. Works great - all the DHCP info goes into /var/log/bind.log, as configued in /etc/syslog.conf. HOWEVER! All the DHCP logging info is *still* going into /var/log/syslog as well - i.e. the DHCP info now goes into BOTH logs. How do I tell DHCP to send the logs ONLY to local7? I've tried restarting dhcpd and the syslog daemon, with no luck.
Try something like this in your /etc/syslog.conf: *.*;auth,authpriv.none;!local7 -/var/log/syslog local7.* -/var/log/dhcpd3.log