Jdesk / memcached

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

How do I turn the logging off for memcached? #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I tried to modify my log4j.xml to turn the logging for memcached off.
The only thing that seemed to turn it off was 
<category name="STDERR"><priority value="OFF"/></category>

That shut off alot of things though.
Is there a way I can just shut the log messages off for the memcached?

Original issue reported on code.google.com by irishdan...@hotmail.com on 12 Feb 2009 at 2:17

GoogleCodeExporter commented 9 years ago
memcached is written in C and pretty much doesn't log.  I think you've come to 
the
wrong place.

There are a couple of java *clients* for memcached.  You might be looking at 
one of
those.  If it's mine, then the project page is here: 
http://code.google.com/p/spymemcached/

and the logging documentation is here:

http://code.google.com/p/spymemcached/wiki/Logging

If you're using a different, refer to its documentation.

Original comment by dsalli...@gmail.com on 13 Feb 2009 at 11:22

GoogleCodeExporter commented 9 years ago
i m using memcached-2[1].1.jar and finding that memcache prints log on console 
in 
[STDERR]..which seems there is some error in processing...
How can i print this statement as [STDOUT] or as [DEBUG]

my log looks like: 

10:05:31,803 ERROR [STDERR] 2009-03-03 10:05:31.803
10:05:31,803 ERROR [STDERR]
10:05:31,803 ERROR [STDERR] INFO
10:05:31,803 ERROR [STDERR]
10:05:31,803 ERROR [STDERR] net.spy.memcached.MemcachedConnection
10:05:31,803 ERROR [STDERR] :
10:05:31,803 ERROR [STDERR] Added {QA 
sa=jjoshi.asite.asitehq.com/192.168.100.94:11211, #Rops=0, #Wops=0, #iq=0, 
topRop=
null, topWop=null, toWrite=0, interested=0} to connect queue
10:05:31,803 ERROR [STDERR] 2009-03-03 10:05:31.803
10:05:31,803 ERROR [STDERR]
10:05:31,803 ERROR [STDERR] INFO
10:05:31,803 ERROR [STDERR]
10:05:31,803 ERROR [STDERR] net.spy.memcached.MemcachedConnection
10:05:31,803 ERROR [STDERR] :
10:05:31,803 ERROR [STDERR] Connection state changed for 
sun.nio.ch.SelectionKeyImpl@109d85b
10:05:31,803 ERROR [STDERR] 2009-03-03 10:05:31.803
10:05:31,803 ERROR [STDERR]
10:05:31,803 ERROR [STDERR] INFO
10:05:31,803 ERROR [STDERR]
10:05:31,803 ERROR [STDERR] net.spy.memcached.MemcachedClient
10:05:31,803 ERROR [STDERR] :
10:05:31,803 ERROR [STDERR] Shut down memcached client

Original comment by Jigsm...@gmail.com on 3 Mar 2009 at 10:55

GoogleCodeExporter commented 9 years ago
This is not a memcached issue.  Please see the comment directly above the one 
you
just posted,

Original comment by dsalli...@gmail.com on 3 Mar 2009 at 3:57

GoogleCodeExporter commented 9 years ago
Issue 24 has been merged into this issue.

Original comment by dsalli...@gmail.com on 6 Mar 2009 at 4:08