Renchunbing / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
1 stars 0 forks source link

SLFJ not working #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I downloaded the xmemcached 1.3.2 binary archive (the one with dependencies), 
added the 2 jars (xmemcached and slf4j-api-1.5.6.jar) on my classpath and I get 
the following error 

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.

Original issue reported on code.google.com by alexefen...@gmail.com on 19 Apr 2011 at 11:54

GoogleCodeExporter commented 9 years ago
I think the link in error message has tell you the answer.
This is beacause xmemcached did not have any sl4j binding by default,you can 
use log4j or jdk logging api and any other log system,and you must download the 
binding by yourself.For example ,if you are using log4j ,you could download  
slf4j-log4j12.jar from http://www.slf4j.org/download.html and download log4j 
from http://logging.apache.org/log4j/

Original comment by killme2...@gmail.com on 20 Apr 2011 at 1:17

GoogleCodeExporter commented 9 years ago

Original comment by killme2...@gmail.com on 20 Apr 2011 at 1:17