How do I get named loggers with different sets of appenders? #200
-
EnvironmentProvide at least:
Expected BehaviorI would like to use a named semantic logger, created by I can tell this will complicate the concurrency model, as there is a single background thread which processes all the logs and invokes the appenders.
Any possible workarounds without tearing through this library? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Correct, by design all log entries go to all appenders. |
Beta Was this translation helpful? Give feedback.
Correct, by design all log entries go to all appenders.
You can however add a filter to an appender so that it only logs messages from specific classes.