Skip to content

How to Disable Logging #771

Answered by Velfi
jiashiwen asked this question in Q&A
Discussion options

You must be logged in to vote

One solution is EnvFilter directives.

By using those, you could set RUST_LOG like this:
RUST_LOG=debug,aws_credential_types::cache::lazy_caching=none

That would enable debug logging for everything except logs originating in the aws_credential_types::cache::lazy_caching module.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Velfi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants