Hello,
i am new to this Forum and the ESP32 itself. I started programming with the ESP32 and I have a little problem.
When i run my code using "make monitor" to see whats going on, there are too many output/log messages from the ESP with the Tags like "boot", "heap_init", "esp_image" etc. which I dont need right now.
I would like to temporarily turn them off. I read the logging library here http://esp-idf.readthedocs.io/en/latest ... hlight=log
but to be honest I didnt understand.
Can someone help me? Would really appreciate that.
Turn off Log messages at runtime.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Turn off Log messages at runtime.
What exactly do you fail to understand? In general, you can turn off these messages either by raising the priority where stuff gets logged in 'make menuconfig', or runtime using a esp_log_level_set call.
Re: Turn off Log messages at runtime.
Hello,
in my Code i have the line
esp_log_level_set("*", ESP_LOG_NONE);
So in theory, all Outputs from every component should be turned off. But still there are output messages...
in my Code i have the line
esp_log_level_set("*", ESP_LOG_NONE);
So in theory, all Outputs from every component should be turned off. But still there are output messages...
Re: Turn off Log messages at runtime.
Could the remaining messages be from the bootloader?
Bootloader log level can be set in menuconfig, in the bootloader settings menu
http://esp-idf.readthedocs.io/en/latest ... ader-level
Bootloader log level can be set in menuconfig, in the bootloader settings menu
http://esp-idf.readthedocs.io/en/latest ... ader-level
Who is online
Users browsing this forum: No registered users and 120 guests