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

log level for appenders #65

Closed
glam99 opened this issue Mar 14, 2018 · 2 comments
Closed

log level for appenders #65

glam99 opened this issue Mar 14, 2018 · 2 comments

Comments

@glam99
Copy link

glam99 commented Mar 14, 2018

Hi, is there any way to specify different log level by appenders at the root level?

@sfackler
Copy link
Collaborator

sfackler commented Mar 14, 2018

Yep - you can add threshold filters to your appenders. Take a look at the example here for reference: https://docs.rs/log4rs/0.8.0/log4rs/file/index.html

@glam99
Copy link
Author

glam99 commented Mar 14, 2018

Thank you!!

@glam99 glam99 closed this as completed Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants