clojurewerkz / spyglass

A Clojure Memcached client (also: Couchbase, Kestrel). Built on top of SpyMemcached, supports ASCII and binary protocols, strives to be 100% feature complete.

Home Page:http://clojurememcached.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Throttling Logging Messages

mikeflynn opened this issue · comments

We're using spyglass in production now, and it's been great. One minor issue though is the amount of INFO and WARN messages going in to the logs. Granted, we'd like to see the warnings about node distribution and the like, but what is the best way to tweak the logging level for spyglass. I've looked in the docs but couldn't find any mention of it.

Thanks.

Apparently, Spymemcached has its own logging façade. I'd need to investigate how to configure log level without using system properties.

I've added an initial version of a function that would set log level for the JDK logger. However, looks like it's not enough.