Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Jul 15, 2015 · 4 comments
Closed

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

GoogleCodeExporter opened this issue Jul 15, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

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
Copy link
Contributor Author

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

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

Issue 24 has been merged into this issue.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant