SLF4J logging not working in Swarm client

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 3.17

      When launching the Jenkins swarm client, I see the following warning message in the console output:

       

      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"

      SLF4J: Defaulting to no-operation (NOP) loger implementation

       

      Consequently, I am unable to generate log files for the service, making it impossible to debug errors and connection issues and such in production. This seems like a silly issue but it is debilitating and it would be great if someone could fix it or tell me how to work around the issue.

       

      I've looked up the slf4j.org website where it describes some workarounds to this error by placing one of the slf4j jars in the Java class path. I downloaded several different versions of slf4j, and copied different jar files contained therein to the default class path, all with no success. Even explicitly setting the java class path to a folder containing all the jars for slf4j didn't work. What am I doing wrong?

      Any help would be greatly appreciated.

            Assignee:
            Basil Crow
            Reporter:
            Kevin Phillips
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: