Commit 8a219c7a authored by ale's avatar ale
Browse files

silence the pyactiveresource logger

parent d8d5dd4a
......@@ -45,8 +45,13 @@ class Updater(threading.Thread):
class Auth(AuthBase):
def __init__(self, config):
# Make the pyactiveresource logger only report errors.
logging.getLogger('pyactiveresource').setLevel(logging.ERROR)
# Setup MachDB.
mdb.init(MACHDB_URL)
self.auth_cache = {'pwcache': {}, 'grpcache': {}}
self.auth_cache = {'pwcache': {}, 'grpcache': {}, 'otpcache': {}}
updater = Updater(self.auth_cache)
updater.setDaemon(True)
updater.start()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment