Browse Source

fix(server): Disable access logs

pull/1463/head
Michael Poutre 1 year ago
parent
commit
cc2fa311dd
No known key found for this signature in database
GPG Key ID: ACEAC6CFD77EB15E
  1. 2
      server.py

2
server.py

@ -603,7 +603,7 @@ class PromptServer():
await self.send(*msg) await self.send(*msg)
async def start(self, address, port, verbose=True, call_on_start=None): async def start(self, address, port, verbose=True, call_on_start=None):
runner = web.AppRunner(self.app) runner = web.AppRunner(self.app, access_log=None)
await runner.setup() await runner.setup()
site = web.TCPSite(runner, address, port) site = web.TCPSite(runner, address, port)
await site.start() await site.start()

Loading…
Cancel
Save