Skip to content

Failed to load class "org.slf4j.impl.StaticLoggerBinder" #1736

@JaniJegoroff

Description

@JaniJegoroff

Description

I'm running a simple unit tests for launching Appium server from the code with Maven and Gradle. Tests are running fine but I noticed logs related to SLF4J logging library used in the AppiumDriverLocalService:

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

Maven

<...>
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.test.janijegoroff.junit5.AppiumServerTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
<...>

Gradle

<...>
> Task :test

AppiumServerTest STANDARD_ERROR
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
<...>

Environment

  • Java client build version or git revision if you use some snapshot: latest 8.1.1
  • Appium server version or git revision if you use some snapshot: latest 1.22.3
  • Desktop OS/version used to run Appium if necessary: macOS Monterey 12.5
  • Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe: 18.7.0
  • Mobile platform/version under test: N/A
  • Real device or emulator/simulator: N/A

Code To Reproduce Issue

See sample project:
Appium server launch for Java

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions