[slf4j-dev] [JIRA] Updates for SLF4J-592: Mechanism for indicating provider to use for unit tests.

slf4j developers list slf4j-dev at qos.ch
Thu Jun 22 11:16:00 CEST 2023


SLF4J / SLF4J-592 [Open]
Mechanism for indicating provider to use for unit tests.

==============================

Here's what changed in this issue in the last few minutes.


There is 1 comment.


View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-592

==============================
 1 comment
------------------------------

Ceki Gülcü on 22/Jun/23 11:04

If we are taking the route of system properties, we could simply let the developer tell us the preferred provider.

For example:

{{java -Dslf4j.provider=org.slf4j.simple.SimpleServiceProvider  ...}}

Even if multiple providers are available, slf4j would pick up {{SimpleServiceProvider}}. Seems easy enough. Would this work for you?


==============================
 This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af)



More information about the slf4j-dev mailing list