Starlink assigns my router short-lived leases (5 minutes), so my syslog is getting cluttered with messages like:
daemon.notice netifd: wan (####): udhcpc: sending renew to server
daemon.notice netifd: wan (####): udhcpc: lease of ###.###.###.# obtained from ###.###.###.#, lease time 300
I want to suppress them, as they drown out anything useful when opening Status | System Log.
If I understand https://openwrt.org/docs/techref/netifd correctly, I should be able to modify /etc/init.d/network to append the -l 2 switch to the command and make netifd only log warning or more severe messages.
I tried that but it didn't seem to have any effect (even after rebooting the router afterward). Any suggestions?
Level is specified as an integer:
0 = L_CRIT
1 = L_WARNING
2 = L_NOTICE (default)
3 = L_INFO
4 = L_DEBUG
I tried to fix it myself as a service to the community, but don't have access and there's more friction than I'm willing to overcome at this point to gain it (trying to solve several issues at the moment and this netifd thing is just step 1 of many).
Maybe someone here with write access to the wiki can confirm my findings and correct the article.
(If I sound peevish, it's because I'm new to OpenWRT and this isn't the first time I've been led astray for hours by poor / disorganized / unclear documentation).