esp-rs/esp-idf-hal

How to set log level to debug

mindoodoo opened this issue · 2 comments

Hey guys,

Thanks for the awesome work !

I'm not sure this is the right place to ask, but I cannot for the life of me get my log messages logged using log::debug! to display. I tried modifying my sdkconfig file as well as using the set_target_level() method, but to no avail.

Any clue ?

Thanks !

What did you add to your sdkconfig file? Log level changes are in a specific format (output from menuconfig). See here: esp-rs/esp-idf-template#215 (comment)

Note: be careful increasing log verbosity globally, IIRC esp-idf logs a lot at debug level.

Note: be careful increasing log verbosity globally, IIRC esp-idf logs a lot at debug level.

Indeed ... and most often than not causes stack overflows.