Skip to content

Actuator 'loggers' endpoint does not return all loggers for log4j #20037

@alawrenc

Description

@alawrenc

Replicated on SB 1.5.15 through SB 2.2.4

Calling /actuator/loggers returns 9 entries instead of the 412 returned by the default logback implementation. It appears that anything with "configuredLevel": null, is excluded from the log4j output.
Basic log4j project with the loggers endpoint exposed attached. Run with ./gradle bootRun
lo4j-test.zip

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions