1

I try to disable all logs on my program, I did disable esp logs but when I use printf in my channel and open make monitor printf still works.

how and why? I want to disable it.

1 Answer 1

2

The system logs and printf are two different things over here. In your project sdkconfig file check if the parameter 'CONFIG_CONSOLE_UART_DEFAULT' is set.

This defines where all your console outputs are dumped into.

In your case you want to disable all the printf logs, you can try setting 'CONFIG_CONSOLE_UART_NONE=y'.

If you are doing it thourgh make menuconfig of esp-idf, it will come under - component config > ESP32-Specific > UART for console output (Default: UART0, TX=GPIO1, RX=GPIO3) > None

Hope I answered to your question. :)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.