[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting DHCP logs OUT of syslog



Jim Hyslop <jhyslop_debian@dreampossible.ca> wrote:
> 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?

Chris Davies wrote:
> Turn it around: you tell syslog.conf not to write local7 entries to
> /var/log/syslog.

Jim Hyslop <jhyslop_debian@dreampossible.ca> wrote:
> My syslog.conf already has this entry:
> # dhcp and bind use the local7 facility
> local7.* /var/log/bind.log

> Is there something else I should be doing?

Yes: re-read my advice. The section you've quoted sends local7 entries
to /var/log/bind.log. You need to take a look at the section that sends
entries to /var/log/syslog.

Cheers,
Chris


Reply to: