Skip to content

Conversation

mcarlett
Copy link

@mcarlett mcarlett commented Jul 6, 2023

In case of multiple provides found in class path, instead of picking first, it is possible to prefer one using system property slf4j.preferred.provider, providing the claas name

example:
-Dslf4j.preferred.provider=ch.qos.logback.classic.spi.LogbackServiceProvider will pick the instance of this type if present in the list of the identified providers, instead of first one in the list

@mcarlett mcarlett force-pushed the select-preferred-provider branch from 5c4160a to bf93c0d Compare July 6, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant