do not log aiohttp.access

This commit is contained in:
Lex Berezhny 2019-01-08 23:54:18 -05:00
parent c4fac29ecb
commit 76fbaac658

View file

@ -397,6 +397,7 @@ class Daemon(metaclass=JSONRPCServerType):
# TODO: delete this
self.streams = {}
logging.getLogger('aiohttp.access').setLevel(logging.WARN)
self.app = web.Application()
self.app.router.add_get('/lbryapi', self.handle_old_jsonrpc)
self.app.router.add_post('/lbryapi', self.handle_old_jsonrpc)