On Wed, Jul 11, 2012 at 05:04:04AM +0000, dukzcry wrote:
> Julian Smith <jules <at> op59.net> writes:
>
> > ... my /var/log/daemon is getting filled with
> > messages from the dhclient programme, looking like:
> >
> > Jun 1 00:09:36 server-35 dhclient: DHCPREQUEST
> > on xl1 to xx.xx.xx.xx port 67
> > Jun 1 00:09:36 server-35 dhclient: DHCPACK from xx.xx.xx.xx
> > Jun 1 00:09:36 server-35 dhclient: bound to 8xx.xx.xx.xx --
> > renewal in 30 seconds.
> >
> > Is there any way of turning these messages off? ...
>
> I know, this is very old question, but still actual.
> I've patched dhclient to match dhcpd's logging behavior. Use
> 'dhclient -dq dc0 &' to run it in complete silent mode (no
> stderr/syslog logging). Wrap in '!(' ... ')' for calling from
> interface script. Don't forget to look at updated manpage: old
> '-d' flag moved into '-f'.
>
> Here you go:
> https://raw.github.com/druga/aeriebsd-tree/master/sbin/dhclient/patch-dhclient
> .
Why? Nothing a littke syslog.conf tweaking can't fix.
-Otto