Skip to content

Logback OnErrorConsoleStatusListener is not registered when using a custom logback-spring.xml #43822

Closed as not planned
@nosan

Description

@nosan

Registration of OnErrorConsoleStatusListener was added in the LogbackLoggingSystem.loadDefaults method (PR: #43575), similar to how the OnConsoleStatusListener is registered when logback.debug is enabled.

However, I’m not sure if adding it only in loadDefaults method was the right approach, as the listener won’t be registered when a custom logback-spring.xml file is used.

Should it also be registered in the LogbackLoggingSystem.loadConfiguration method?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions