roc230 / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

Disable logging completely #260

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
2.8.1

Tell me more...

I can't seem to find a way to disable spy.memcached logging altogether. I have 
the following:

System.setProperty("net.spy.log.LoggerImpl", 
"net.spy.memcached.compat.log.SunLogger")
    java.util.logging.Logger.getLogger("net.spy.memcached.MemcachedConnection").setLevel(java.util.logging.Level.SEVERE)
    java.util.logging.Logger.getLogger("net.spy.memcached").setLevel(java.util.logging.Level.SEVERE)

But I still get thousands of debug log entries interspersed with my own logs. 
Is there another way of disabling logging?

Original issue reported on code.google.com by diego.va...@gmail.com on 1 Nov 2012 at 8:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
can any one knows how to stop unnecessary loggers to stop

Original comment by srinu.bu...@gmail.com on 22 Jan 2013 at 8:22