Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set log level to debug #482

Closed
mindoodoo opened this issue Sep 25, 2024 · 2 comments
Closed

How to set log level to debug #482

mindoodoo opened this issue Sep 25, 2024 · 2 comments

Comments

@mindoodoo
Copy link

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 !

@elipsitz
Copy link
Contributor

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.

@ivmarkov
Copy link
Collaborator

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.

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants