怎么关闭 memcached 日志

pip install python-binary-memcached

由于使用的是上面这个连接类,总会产生大量的get set loging

解决办法:

pip install python-memcached

连接方式:

mc_cache = memcache.Client([‘127.0.0.1:11111’], debug=True)

这个链接类默认关闭了查询logging

转载随意~:陶醉seo » 怎么关闭 memcached 日志

赞 (12)
分享到:更多 ()