Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-565

Improve instructions on adding the correct combinations of dependencies

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

    Description

      I have recently updated Spring Boot and now I'm experience problems where the log output is not shown.

      In the console I see the following errors:

      SLF4J: No SLF4J providers were found.
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
      SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
      SLF4J: Ignoring binding found at [jar:file:/.../.local/share/gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.2.11/4741689214e9d1e8408b206506cbe76d1c6a7d60/logback-classic-1.2.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See https://www.slf4j.org/codes.html#ignoredBindings for an explanation. 

       

      I have visited the links but they do not provide a useful explanation. I'm still not clear on what's changed, or what's wrong. The explanations seem more focused on giving context, or historical background. I'm not really interested in the history, I just want it to work.

      I've tried reading through the docs but they are not easy to follow. They're not clear about what artifacts are available, or where to find them. 

      For example, when I visit most GitHub projects, one of the first things I see in the readme are instructions on how to add dependencies.

      Conversely, on the slf4j site I have to click around to hunt down the documentation pages. Once I find the manual https://www.slf4j.org/manual.html, it dives straight into using the code. It mentions the jars, but now where they are hosted, or the Maven coordinates.

      Please can you update the docs to include a clear explanation about what dependencies I should add to my Gradle project?

       

       

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            adam612413213213 Adam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: