wifi component in 4.1 fails to honor log level settings
Posted: Sun Jul 05, 2020 2:20 am
Hello, I posted about this a month ago and received zero responses. This continues to be an issue in the latest release/4.1 code. If not fixed, I will not be able to leave IDF 4.0 and move to 4.1 or 4.2.
Previous post with large amount of detail: viewtopic.php?f=13&t=16023
(1) Main problem: wifi component does not honor log level settings. No matter how configured, it always prints INFO and other messages. I have demonstrated this using the wifi station example project. I am attaching my sdkconfig.defaults and modified station_example_main.c file.
Console output even after call to esp_log_level_set("wifi", ESP_LOG_WARN); All wifi INFO messages erroneously occur:
(2) Second problem: As described in great detail in the prior post, wifi separates its log messages into multiple pieces, allowing other log messages to become interleaved in the console output. For example, an esp_netif_lwip debug message is inserted in the middle of a wifi INFO message:
Previous post with large amount of detail: viewtopic.php?f=13&t=16023
(1) Main problem: wifi component does not honor log level settings. No matter how configured, it always prints INFO and other messages. I have demonstrated this using the wifi station example project. I am attaching my sdkconfig.defaults and modified station_example_main.c file.
Console output even after call to esp_log_level_set("wifi", ESP_LOG_WARN); All wifi INFO messages erroneously occur:
Code: Select all
I (987) wifi:wifi firmware version: aa3b749
I (997) wifi:config NVS flash: enabled
I (997) wifi:config nano formating: disabled
I (997) wifi:Init dynamic tx buffer num: 32
I (997) wifi:Init data frame dynamic rx buffer num: 32
I (997) wifi:Init management frame dynamic rx buffer num: 32
Code: Select all
I (1591) wifi:D (1593) esp_netif_lwip: esp_netif_start_ip_lost_timer esp_netif:0x3ffbf5e4
AP's beacon interval = 102400 us, DTIM period = 3