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?