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

98 views
Skip to first unread message

pbft

unread,
Oct 3, 2016, 6:01:36 PM10/3/16
to BeagleBoard
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.

Robert Nelson

unread,
Oct 3, 2016, 6:10:00 PM10/3/16
to Beagle Board
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,

--
Robert Nelson
https://rcn-ee.com/

pbft

unread,
Oct 5, 2016, 1:42:14 PM10/5/16
to BeagleBoard
Thanks - I'll give it a try...
Reply all
Reply to author
Forward
0 new messages