Syslog chatty DHCP

Hi there! I was wondering if I can suppress the dhcp client logging in the syslog ... my ISP is giving me a very short window for the lease renewal, and therefore my syslog gets filled with this:

Wed May 24 10:48:31 2017 daemon.notice netifd: wan (1718): udhcpc: sending renew
Wed May 24 10:48:31 2017 daemon.notice netifd: wan (1718): udhcpc: lease of 190.x.x.x obtained, lease time 300
Wed May 24 10:51:01 2017 daemon.notice netifd: wan (1718): udhcpc: sending renew
Wed May 24 10:51:01 2017 daemon.notice netifd: wan (1718): udhcpc: lease of 190.x.x.x obtained, lease time 300

Any way to just let the dhcp client to log errors, and not "notice"s?

I know this is an old thread, but I have the same issue and I have not found a solution how to turn off logging of the renewal of IP address.
Can anybody point me in the right direction?

Sorry to disappoint. udhcpc is part of busybox and has no setting to influence logging or loglevel.

3 Likes

Thanks

Do you know if it´s possible to get a change in udhcpc?

Possible? Yes, of course it is possible. Busybox is an open-source project and accepts contributions.

If you're asking, though,
a) if they will accept such a modification ... maybe
b) if anyone here will actually do it ... no, probably not.

1 Like

Then, it maybe easier to ask my ISP to have o longer lease time. :slight_smile: