Welcome! Please see the About page for a little more info on how this works.

+5 votes
in tools.logging by
retagged by

Is there interest in adding a slf4j 2 factory to clojure tools.logging ?

slf4j 2 changed how it discovers implementations - now it uses java ServiceLoader (standard) facilities.

On the client side version 1.x of API is compatible with version 2.x of API.
Implementations however have changed - how the implementation is loaded.

https://www.slf4j.org/faq.html#changesInVersion200

I don't think the old way of loading is working to find new slf4j 2.0 implementations that use service loader .
https://github.com/clojure/tools.logging#selecting-a-logging-implementation (edited) .

I could provide a PR if this is of interest.

1 Answer

+1 vote
by

I've created a jira to track this at https://clojure.atlassian.net/browse/TLOG-28. If you're interested in providing a patch, you can follow the process to become a contributor (see https://clojure.org/dev/dev#_becoming_a_contributor ).

...