-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Labels
web[Component] This issue will be transferred to adk-web[Component] This issue will be transferred to adk-web
Description
Running adk web --log_level=WARNING shows a lot of info messages that clutter the logs.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO: 127.0.0.1:47366 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO: 127.0.0.1:47366 - "GET /dev-ui/ HTTP/1.1" 200 OK
INFO: 127.0.0.1:47366 - "GET /dev-ui/chunk-2WH2EVR6.js HTTP/1.1" 200 OK
INFO: 127.0.0.1:47382 - "GET /dev-ui/polyfills-B6TNHZQ6.js HTTP/1.1" 200 OK
The info messages are even more verbose in a containerized dev environment.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
INFO: 127.0.0.1:59732 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO: 127.0.0.1:59732 - "GET /dev-ui/ HTTP/1.1" 200 OK
INFO: 127.0.0.1:59746 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO: 127.0.0.1:59746 - "GET /dev-ui/ HTTP/1.1" 200 OK
INFO: 127.0.0.1:52314 - "GET / HTTP/1.1" 307 Temporary Redirect
INFO: 127.0.0.1:52314 - "GET /dev-ui/ HTTP/1.1" 200 OK
[Repeated every second ...]
I've locally tested a one-line change to add log_level=log_level.lower() to uvicorn.Config() (jedick@b9ac2c4).
Could this be considered for merging into the main codebase?
Metadata
Metadata
Assignees
Labels
web[Component] This issue will be transferred to adk-web[Component] This issue will be transferred to adk-web