hostapd logs HOSTAPD_LEVEL_INFO messages when log_level set to ERROR

Jaime enopatch at gmail.com
Tue May 4 12:25:43 BST 2021


Hi. I'm not sure whether this is a bug, either in hostapd or possibly
somewhere in openwrt's logging system, or whether this is expected
behaviour.

I'm using hostapd on a very recent openwrt snapshot, and when I set
hostapd's log_level to ERROR, I still see HOSTAPD_LEVEL_INFO messages
being logged:

# hostapd_cli -i wlan0 log_level ERROR
OK
# hostapd_cli -i wlan0 log_level
Current level: ERROR
Timestamp: 0
# logread -f
Tue May  4 12:15:17 2021 daemon.info hostapd: wlan0: STA <my mac> IEEE
802.11: disassociated
Tue May  4 12:15:18 2021 daemon.info hostapd: wlan0: STA <my mac> IEEE
802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue May  4 12:15:30 2021 daemon.info hostapd: wlan0: STA <my mac> IEEE
802.11: authenticated
Tue May  4 12:15:30 2021 daemon.info hostapd: wlan0: STA <my mac> IEEE
802.11: associated (aid 5)
Tue May  4 12:15:30 2021 daemon.info hostapd: wlan0: STA <my mac> WPA:
pairwise key handshake completed (RSN)

Does anyone know whether this is expected behaviour? If not, is the
bug more likely to be in hostapd or somewhere in openwrt's logging
system?

TIA, J



More information about the Hostap mailing list