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
The LoggingSystemFactory implementations are loaded using SpringFactoriesLoader. It orders them using AnnotationAwareOrderComparator but each LoggingSystemFactory implementation has the same order (Ordered.LOWEST_PRECEDENCE) which means the ordering is undefined. I think we're currently relying on SpringFactoriesLoader preserving the order of the comma-separated list in META-INF/spring.factories when parsing the file and then the sorting process leaving this order unchanged once the factories have been instantiated and their orders compared. To make things more robust, we should declare our LoggingSystemFactory implementations with orders that reflect our logging system preferences:
Logback
Log4j2
JUL
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The
LoggingSystemFactory
implementations are loaded usingSpringFactoriesLoader
. It orders them usingAnnotationAwareOrderComparator
but eachLoggingSystemFactory
implementation has the same order (Ordered.LOWEST_PRECEDENCE
) which means the ordering is undefined. I think we're currently relying onSpringFactoriesLoader
preserving the order of the comma-separated list inMETA-INF/spring.factories
when parsing the file and then the sorting process leaving this order unchanged once the factories have been instantiated and their orders compared. To make things more robust, we should declare ourLoggingSystemFactory
implementations with orders that reflect our logging system preferences:The text was updated successfully, but these errors were encountered: