[FS#3218] hostapd log_level ingored

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed Jul 29 03:55:12 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3218 - hostapd log_level ingored
User who did this - Raphaël Mélotte (rmelotte)

----------
I also noticed the log_level is ignored, even if you set it through UCI.
`uci set wireless.radio0.log_level=1` correctly sets it in `/var/run/hostapd_phyX.conf`, but the log level used by hostapd stays the same (INFO).

As for why the hostapd_cli call you pasted doesn't work, it's because it uses the level name instead of a number.
So to set it to level 4, try:

hostapd_cli -i wlan0 log_level ERROR


The available levels are:

Following priority levels are used:
- 0 = MSGDUMP
- 1 = DEBUG
- 2 = INFO
- 3 = WARNING
- 4 = ERROR

----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3218#comment8603

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list