several: turn off aiohttp access log
It will log arguments, so unless we are certain the arguments are clean this will cause trouble. Just turn it off.
This commit is contained in:
parent
80b144f220
commit
1da5cac477
|
@ -221,7 +221,7 @@ def bind(router, endpoint, controller, serializer=None, _depth=None):
|
|||
async def make_server_at_path(socket_path, endpoint, controller, **kw):
|
||||
app = web.Application(**kw)
|
||||
bind(app.router, endpoint, controller)
|
||||
runner = web.AppRunner(app)
|
||||
runner = web.AppRunner(app, access_log=None)
|
||||
await runner.setup()
|
||||
site = web.UnixSite(runner, socket_path)
|
||||
await site.start()
|
||||
|
|
|
@ -497,7 +497,7 @@ class SubiquityServer(Application):
|
|||
bind(app.router, API.dry_run, DryRunController(self))
|
||||
for controller in self.controllers.instances:
|
||||
controller.add_routes(app)
|
||||
runner = web.AppRunner(app, keepalive_timeout=0xFFFFFFFF)
|
||||
runner = web.AppRunner(app, keepalive_timeout=0xFFFFFFFF, access_log=None)
|
||||
await runner.setup()
|
||||
await self.start_site(runner)
|
||||
|
||||
|
|
Loading…
Reference in New Issue