views:

108

answers:

2

Hi,

we are using the spymemcached memcached client but we didn't discovered how we could disable the logging system.

How could we at runtime change the current logging system to something like log4j or sl4j?

Notice: We could pass some VM arguments, but the problem is: we can't change our server configuration. Is it possible to pass these VM arguments at runtime? If possible, how could we do that?

+1  A: 

log4j and sun logger are both supported. You can read about log configuration in the wiki.

Dustin
But they are both supported if I pass some VM arguments at command line, which I can't because this application will be executed on a web server.Is there any other way?
Kico Lobo
A: 

I'm wondering about the same thing. Setting JVM arguments is not an option.

Tommy