Skip to content

Log4j's implementation of SLF4J Logger should not use no-op builders #1287

@ppkarwasz

Description

@ppkarwasz

The fix for LOG4J2-3647 didn't include an equivalent fix for our SLF4J binding. An SLF4J call:

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.

This issue was reported in this StackOverflow question.

Metadata

Metadata

Assignees

Labels

bugIncorrect, unexpected, or unintended behavior of existing codeslf4jAffects SLF4J integration

Type

No type

Projects

Status

To triage

Relationships

None yet

Development

No branches or pull requests

Issue actions