mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-09 15:17:59 -05:00
fix(backend): Increase logging level threshold of RPC service to WARNING (#9576)
Increase the logging threshold to WARNING to avoid chatty RPC service request logs. Before: 
This commit is contained in:
@@ -326,7 +326,12 @@ class FastApiAppService(BaseAppService, ABC):
|
||||
f"[{self.service_name}] Starting RPC server at http://{api_host}:{self.get_port()}"
|
||||
)
|
||||
server = uvicorn.Server(
|
||||
uvicorn.Config(self.fastapi_app, host=api_host, port=self.get_port())
|
||||
uvicorn.Config(
|
||||
self.fastapi_app,
|
||||
host=api_host,
|
||||
port=self.get_port(),
|
||||
log_level="warning",
|
||||
)
|
||||
)
|
||||
self.shared_event_loop.run_until_complete(server.serve())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user