For my travel router I'm trying different versions between 18.06.8 and 19.07.3 with LuCI. In addition to the router's info, I run a script via crontab, with logging to an external server (by UDP), but I think logd is (set to) "too chatty" for what I want.
Trying to reduce the information I don't want, I already set:
- Log output level to Emergency,
- Cron Log Level to Normal,
- suppress dhcp log,
- hostapd logger level = 4
But logd still sends many AP-STA connections/disconnections entries,
and USER root pid **** cmd my_script.sh crontab execute entries.
(I tried redirecting the stdout of the cron job, but it also suppress what I do want to log.)
I would like to:
- get rid of those unwanted messages,
- Optional: report the router's IP address (ideally, the current public WAN IP address) instead ot the router name
Shall I tweak other settings, or shall I replace logd with something more powerful, like syslog-ng3 or rsyslog or other? and how? I already read several wiki pages, but I still don't get whether LuCI will deal with this (at least with what I've already done) or I shall do everything by scripts.