Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.11.0
-
None
Description
An AsyncLogger definitions without a level defined always have "ERROR" level set, where Logger definitions defer to the parent config, error is only set for the root logger.
For example:
<?xml version="1.0" encoding="UTF-8"?> <Configuration> <Appenders> <Null name="null"/> </Appenders> <Loggers> <AsyncLogger name="com.foo" /> <AsyncRoot level="trace"> <AppenderRef ref="null" /> </AsyncRoot> </Loggers> </Configuration>
Logger "com.foo" level should be trace, inherited from the root logger, however it will currently be error.
The same config using "Logger" and "Root" rather than their asynchronous counterparts will produce the expected behavior.
Attachments
Issue Links
- links to