esp_log_level_set("wl_flash", ESP_LOG_VERBOSE); does not work
Posted: Sat May 22, 2021 4:20 pm
Hi,
Due to periodic corruption of my FATFS with Wear Leveling , I want to turn on some debug logging in the console.
Therefor I added esp_log_level_set("wl_flash", ESP_LOG_VERBOSE); as first statement in my code, but there is no debug output.
Even though my application writes to a logfile every minute.
Only after modifying sdkconfig to CONFIG_LOG_DEFAULT_LEVEL_VERBOSE does wl_flash debug appear, but not only wl_flash. Now a lot of other (unneeded) logging comes out.
Is this a bug or am I doing something wrong when using esp_log_level_set() ???
Thx, Jo
Due to periodic corruption of my FATFS with Wear Leveling , I want to turn on some debug logging in the console.
Therefor I added esp_log_level_set("wl_flash", ESP_LOG_VERBOSE); as first statement in my code, but there is no debug output.
Even though my application writes to a logfile every minute.
Only after modifying sdkconfig to CONFIG_LOG_DEFAULT_LEVEL_VERBOSE does wl_flash debug appear, but not only wl_flash. Now a lot of other (unneeded) logging comes out.
Is this a bug or am I doing something wrong when using esp_log_level_set() ???
Thx, Jo