You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
…ck file
Prior to this commit, OnErrorConsoleStatusListener was not registered
for a custom Logback configuration file.
This commit registers OnErrorConsoleStatusListener when the Logback
configuration is loaded from a custom Logback file that does
not include any StatusListener.
See spring-projectsgh-43822
Signed-off-by: Dmytro Nosan <[email protected]>
…ck file
Prior to this commit, OnErrorConsoleStatusListener was not registered
for a custom Logback configuration file.
This commit registers OnErrorConsoleStatusListener when the Logback
configuration is loaded from a custom Logback file that does
not include any StatusListener.
See spring-projectsgh-43822
Signed-off-by: Dmytro Nosan <[email protected]>
Registration of
OnErrorConsoleStatusListener
was added in theLogbackLoggingSystem.loadDefaults
method (PR: #43575), similar to how theOnConsoleStatusListener
is registered whenlogback.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 customlogback-spring.xml
file is used.Should it also be registered in the
LogbackLoggingSystem.loadConfiguration
method?The text was updated successfully, but these errors were encountered: