Are you seeing lots of hostapd log-spam from cell phones which go to sleep, then wake up, connect again, transfer a bit of data, then go back to sleep, rinse and repeat?
You can attempt to set the hostapd / wireless / wpad logging in /etc/config/wireless, but it won’t work. hostapd / wpad bypasses all log_level settings and continues printing its output to the logs.
None of these in /etc/config/wireless work:
config wifi-device 'radio0' option log_mlme '0' option log_iapp '0' option log_driver '0' option log_wpa '0' option log_radius '0' option log_8021x '0' option log_80211 '0' option log_level '3'
So we’ll disable hostapd / wpad logging. I recommend only doing this once you know everything is working properly.
Issue:
vi /etc/init.d/wpad
Press i to enter editing mode.
Make the following changes:
THIS LINE: procd_set_param command /usr/sbin/hostapd -s -g /var/run/hostapd/global
CHANGED TO: procd_set_param command /usr/sbin/hostapd -g /var/run/hostapd/global
THIS LINE: procd_set_param command /usr/sbin/wpa_supplicant -n -s -g /var/run/wpa_supplicant/global
CHANGED TO: procd_set_param command /usr/sbin/wpa_supplicant -n -g /var/run/wpa_supplicant/global
Press Esc to exit editing mode, then :wq to save and exit.
Issue:
/etc/init.d/wpad restart
Now your logs will be quieter.