eldur / jwbf

Java Wiki Bot Framework is a library to maintain Wikis like Wikipedia based on MediaWiki.
http://jwbf.sourceforge.net/
Apache License 2.0
78 stars 33 forks source link

Failed to load class StaticLoggerBinder #17

Closed ghost closed 10 years ago

ghost commented 10 years ago

Today I was trying for the fist time use your library (2.0.0), but I'm getting the following "warning":

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.

At the page they mention I see that I could solve the problem adding one of those libraries cited there (slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar).

We have to add one of these manually?

Once again, thank you.

eldur commented 10 years ago

Yes, because you can use your preferred or already existing logging framework. But it's a warning, not an error - so you have the choice if you want to see logging or not :-)

In tests I use logback.

ghost commented 10 years ago

Thank you for your support, now I think you can close the issue.