You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Manfred Baedke (Jira)" <ji...@apache.org> on 2024/03/05 12:39:00 UTC

[jira] [Comment Edited] (OAK-10339) Migrate to SLF4J 2.x

    [ https://issues.apache.org/jira/browse/OAK-10339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17823593#comment-17823593 ] 

Manfred Baedke edited comment on OAK-10339 at 3/5/24 12:38 PM:
---------------------------------------------------------------

See PR#1343. Just the tests in oak-solr-core don't go with logback-classic-1.5.2, but need 1.2.x. But that is just a test dependency of solr-core.
Note that in order to use slf4j-2.x on an OSGi platform, something like spifly is necessary to provide a ServiceLoader.


was (Author: baedke):
See PR#1343. Just the tests in oak-solr-core don't go with logback-classic-1.5.2, but need 1.2.x. But that is just a test dependency of solr-core.
Note that in order to use slf4j-2.x on an OSGi platform, something like spyfly is necessary to provide a ServiceLoader.

> Migrate to SLF4J 2.x
> --------------------
>
>                 Key: OAK-10339
>                 URL: https://issues.apache.org/jira/browse/OAK-10339
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: parent
>            Reporter: Konrad Windszus
>            Assignee: Manfred Baedke
>            Priority: Major
>
> Update to SLF4J 2.x in order to use the fluent API.
> Compare with SLING-11906 for a similar effort in Sling.
> At the same time we should consider getting rid of package dependencies to {{org.slf4j.event}} which are considered only relevant for logging backends. Those are no longer exposed in a backwards compatible version in SLF4J 2.x, the official 1.x API at {{org.slf4j}} should still work even with 2.x API bundle and implementations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)