I DON'T WANT ANY LOG TO THE CONSOLE

eldadwasserman
Posts: 8
Joined: Tue Oct 31, 2017 7:44 am

I DON'T WANT ANY LOG TO THE CONSOLE

Postby eldadwasserman » Tue Dec 01, 2020 11:46 am

Hi,

I need expert help.
I am sending a lot of data to the main PC via the console com port.
each time the ESP32 is rebooting - on start or after wake up from deep sleep I am getting a lot of messages about the boot etc.
I was trying 3 days to get rid of all these data.
I want 0 data to the log console. this log destroy our communication protocol.

Please help.....
simple way to not get any log to the console... I need the console 100% for our firmware, also after wake up from sleep.

Eldad

User avatar
ESP_Roland
Posts: 265
Joined: Tue Oct 09, 2018 10:28 am

Re: I DON'T WANT ANY LOG TO THE CONSOLE

Postby ESP_Roland » Tue Dec 01, 2020 1:29 pm

Hi eldadwasserman,

Please take a look at this page:
https://docs.espressif.com/projects/esp ... m/log.html

It is possible to reduce the logging level globally for all component or manage it individually for each component. ESP_EARLY_LOGx for handling logs from startup code.

ESP_Jan
Posts: 42
Joined: Tue Dec 01, 2020 10:56 am

Re: I DON'T WANT ANY LOG TO THE CONSOLE

Postby ESP_Jan » Tue Dec 01, 2020 2:11 pm

Hi eldadwasserman,

I think this was already answered: viewtopic.php?t=4249

In short this is what you need to do:
  • "idf.py menuconfig", go to "Bootloader config" and set "Bootloader log verbosity" to "No output" to disable bootloader output
  • "idf.py menuconfig", go to "Component config", "Log output", set "Default log verbosity" to "No output" to disable application output

wevets
Posts: 112
Joined: Sat Mar 09, 2019 2:56 am

Re: I DON'T WANT ANY LOG TO THE CONSOLE

Postby wevets » Wed Dec 02, 2020 5:56 pm

I have also found that strapping GPIO 15 to ground suppresses additional log output from the bootloader. I do this as well as the adjust the setting in menuconfig in the previous reply to suppress all terminal log output.

markxr
Posts: 15
Joined: Sun Aug 16, 2020 7:32 pm

Re: I DON'T WANT ANY LOG TO THE CONSOLE

Postby markxr » Fri Dec 04, 2020 2:38 pm

eldadwasserman wrote:
Tue Dec 01, 2020 11:46 am
I want 0 data to the log console. this log destroy our communication protocol.
You could connect your communication protocol to UART1 instead of UART0, no data will appear on there at bootup, and you will still be able to use UART0 to diagnose your application. You can use any GPIO pins I think.

Who is online

Users browsing this forum: calebe_sucupira and 64 guests