mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-08 22:56:24 -04:00
API: Hide the uvicorn access logs from the terminal
This commit is contained in:
parent
adb975a380
commit
470c822f44
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ def run_server():
|
||||||
|
|
||||||
# Start server
|
# Start server
|
||||||
logging.getLogger("uvicorn.error").propagate = False
|
logging.getLogger("uvicorn.error").propagate = False
|
||||||
uvicorn.run(app, host=server_addrs, port=port, ssl_certfile=ssl_certfile, ssl_keyfile=ssl_keyfile)
|
uvicorn.run(app, host=server_addrs, port=port, ssl_certfile=ssl_certfile, ssl_keyfile=ssl_keyfile, access_log=False)
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
|
|
Loading…
Add table
Reference in a new issue