Skip to content

SLF4J dependency commented out #36

@haynesmatt

Description

@haynesmatt

While running YCSB on both loads and runs, I was greeted with this warning output on the console:

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.

And found the dependency commented out in YCSB/ycsb-mongodb/pom.xml on lines 26-31:

  <!-- Uncomment this to get lots of driver logging
  <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-simple</artifactId>
    <version>1.6.4</version>
  </dependency>-->

What purpose does commenting out this dependency, which seems to remove console logging, serve?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions