killme2008 / xmemcached

High performance, easy to use multithreaded memcached client in java.
http://fnil.net/xmemcached
Apache License 2.0
757 stars 280 forks source link

Disable log4j logging? #46

Closed stodge closed 8 years ago

stodge commented 8 years ago

This might be a silly question but how do I stop xmemcached from logging output when log4j is configured for DEBUG:

log4j.rootLogger = DEBUG, CONSOLE, LOGFILE

I don't want to see xmemcached's DEBUG logging when I'm debugging my application.

Thanks

killme2008 commented 8 years ago

You can disable logger by setting log4j properties:

log4j.logger.net.rubyeye.xmemcached=false
log4j.logger.com.google.code.yanf4j=false