How to set dhclient log level in 4.x kernels?

This is a re-post of a lonely and unloved post from last February.

I’m using the Robert C Nelson Debian kernel on a Beaglebone Black. I’ve used a few different versions, and I’m still having a minor annoyance:

dhclient is filling the daemon.log file with needless junk. I’d like to have only actual problems logged.

I’d like to change the dhclient log level, but I can’t figure out where dhclient is invoked or where options could be specified.

Sample logfile entries:

Feb 25 06:57:28 vesta dhclient: DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 10
Feb 25 06:57:38 vesta dhclient: DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 10
Feb 25 06:57:48 vesta dhclient: DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 15
Feb 25 06:57:54 vesta dhclient: DHCPREQUEST on eth0 to 192.168.1.10 port 67
Feb 25 06:57:54 vesta dhclient: DHCPACK from 192.168.1.10
Feb 25 06:57:54 vesta dhclient: bound to 192.168.1.179 – renewal in 299 seconds.
Feb 25 06:58:03 vesta dhclient: DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 12

Don’t know if this is BeagleBone-specific or just a systemd question, but help would be really appreciated.

it's dhclient, it's noisy:

http://superuser.com/questions/1013105/dhclient-unicast-dhcprequest-excessive-logs

The bash redirect hack listed there looks as the best option.

Regards,

Thanks - I’ll give it a try…