YCSB icon indicating copy to clipboard operation
YCSB copied to clipboard

SLF4J dependency commented out

Open haynesmatt opened this issue 2 years ago • 0 comments
trafficstars

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?

haynesmatt avatar Jul 27 '23 21:07 haynesmatt