[Misc]fixed disable these http request logs (#14754)

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
Chauncey
2025-03-20 12:53:40 +08:00
committed by GitHub
parent 34868b106a
commit ae65f3e237
2 changed files with 6 additions and 0 deletions

View File

@@ -1036,6 +1036,9 @@ async def run_server(args, **uvicorn_kwargs) -> None:
host=args.host,
port=args.port,
log_level=args.uvicorn_log_level,
# NOTE: When the 'disable_uvicorn_access_log' value is True,
# no access log will be output.
access_log=not args.disable_uvicorn_access_log,
timeout_keep_alive=TIMEOUT_KEEP_ALIVE,
ssl_keyfile=args.ssl_keyfile,
ssl_certfile=args.ssl_certfile,