Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-19616

Update slf4j version

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • build

    Description

      After IGNITE-19386, the transitive dependency on slf4j-api got bumped to the version 2+, which is incompatible with explicit dependency on slf4j-jdk14. This manifests in missing logs from Micronaut and this message in the beginning:

      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:/root/.m2/repository/org/slf4j/slf4j-jdk14/1.7.32/slf4j-jdk14-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Ignoring binding found at [jar:file:/opt/buildagent/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-nop/1.7.36/a3c1eb685d59414527faa93623acae311c184032/slf4j-nop-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See https://www.slf4j.org/codes.html#ignoredBindings for an explanation.
      

      We need to update the explicit dependency.

      Attachments

        Issue Links

          Activity

            People

              vpakhnushev Vadim Pakhnushev
              vpakhnushev Vadim Pakhnushev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m