-
Notifications
You must be signed in to change notification settings - Fork 23
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
Different logging levels for appenders in same logger #20
Comments
I don't think this is possible with the current API, as appenders do not have separate thresholds. But it's almost certainly possible to accomplish this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Is there a way to have 2 appenders in the same logger but with different logging levels? For example, can I add a console appender with level INFO and a file appender with level DEBUG to the same logger such that the results would be like the following?
info(logger, "Hello")
: would write Hello to both console and filedebug(logger, "Hello")
: would only write Hello to fileThank you very much in advance.
The text was updated successfully, but these errors were encountered: