apache / apache/logging-log4j2
Log4j's implementation of SLF4J `Logger` should not use no-op builders
Open
bug
slf4j
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.7k
- Avg merge
- 21h 30m
- Merged PRs (30d)
- 27
Description
The fix for [LOG4J2-3647](https://issues.apache.org/jira/browse/LOG4J2-3647) didn't include an equivalent fix for our SLF4J binding. An SLF4J call:
```lang-java
logger.atDebug()...
```
discards all messages less specific than `DEBUG`, even those messages that would be accepted by a global filter.
The equivalent Logback issue is [LOGBACK-1719](https://jira.qos.ch/browse/LOGBACK-1719).
This issue was reported in this [StackOverflow question](https://stackoverflow.com/q/75556273/11748454).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.