Pasquale Congiusti created CAMEL-22591:
------------------------------------------

             Summary: [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
            Reporter: Pasquale Congiusti


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)

Reply via email to