You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/12/24 09:11:00 UTC

[jira] [Updated] (CAMEL-22591) [build] SLF4J(W): No SLF4J providers were found.

     [ https://issues.apache.org/jira/browse/CAMEL-22591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-22591:
--------------------------------
    Fix Version/s: 4.x

> [build] SLF4J(W): No SLF4J providers were found.
> ------------------------------------------------
>
>                 Key: CAMEL-22591
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22591
>             Project: Camel
>          Issue Type: Task
>          Components: tests
>            Reporter: Pasquale Congiusti
>            Priority: Minor
>             Fix For: 4.x
>
>
> While working on a PR to remove testing traces from build log [1] I discovered we have many test that are not honoring the logger implementation. Traces such as:
> {code}
> SLF4J(W): No SLF4J providers were found.
> SLF4J(W): Defaulting to no-operation (NOP) logger implementation
> SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
> SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
> SLF4J(W): Ignoring binding found at [jar:file:/home/squake/.m2/repository/org/slf4j/slf4j-reload4j/1.7.36/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an explanation.
> {code}
> are common among tests. We may verify if we can include test scoped dependency in the parent in order to have a default configuration and avoid these traces. Alternatively we need to fix each module to include the proper dependencies.
> [1] https://github.com/apache/camel/pull/19675



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