Esp32 Log Level
DodaTech
1 min read
In this tutorial, you'll learn about ESP32 Log Level Messages Not Appearing. We cover key concepts, practical examples, and best practices.
The Problem
ESP32 log messages below ERROR level are not shown in the serial output.
Quick Fix
Wrong
ESP_LOGI("tag", "Info message"); // Not shown
INFO and DEBUG messages missing. Only ERROR shows.
Right
esp_log_level_set('*", ESP_LOG_VERBOSE);
ESP_LOGE("tag", "Error");
ESP_LOGW("tag", "Warning");
ESP_LOGI("tag", "Info");
ESP_LOGD("tag", "Debug");
ESP_LOGV("tag", "Verbose');
E (123) tag: Error
W (124) tag: Warning
I (125) tag: Info
D (126) tag: Debug
V (127) tag: Verbose
Prevention
Set default log level in menuconfig (CONFIG_LOG_DEFAULT_LEVEL). Use esp_log_level_set() to override at runtime. Higher levels include lower: ERROR includes WARN, INFO, DEBUG, VERBOSE. Set per-tag levels for selective verbosity.
DodaTech engineers apply these same patterns across Doda Browser, DodaZIP, and Durga Antivirus Pro for production IoT reliability.
FAQ
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro