roc230 / spymemcached

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

Logging doesn't seems to work #144

Closed GoogleCodeExporter closed 9 years ago

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

Tell me more...

I used the following to start my memcached process 
  -Dnet.spy.log.LoggerImpl=net.spy.memcached.compat.log.Log4JLogger 

I am using log4j.xml and i tried creating a logger for the package net.spy and 
directed it to a file appender but still it logs every thing to the console.

This is my log4j settings
    <logger name="net.spy">
        <level value = "INFO" />
        <appender-ref ref="APP" />
    </logger>

Where APP is file Appender.

And this is what I get on my console 

INFO net.spy.memcached.transcoders.SerializingTranscoder:  Compressed x.y.z(I 
have removed the actual package name) from 60027 to 12504

Original issue reported on code.google.com by agraw...@gmail.com on 23 Jun 2010 at 11:03

GoogleCodeExporter commented 9 years ago
2.3.1 is quite old, and there have been logging bugs fixed since then.  Is 
there a possibility you could try 2.5?

Original comment by ingen...@gmail.com on 18 Feb 2011 at 7:11