Skip to content

feat: allow configuring uvicorn log level via environment variable#1271

Open
Ruiruiz30 wants to merge 1 commit intokagent-dev:mainfrom
Ruiruiz30:feat/configurable-uvicorn-log-level
Open

feat: allow configuring uvicorn log level via environment variable#1271
Ruiruiz30 wants to merge 1 commit intokagent-dev:mainfrom
Ruiruiz30:feat/configurable-uvicorn-log-level

Conversation

@Ruiruiz30
Copy link

Summary

  • Add UVICORN_LOG_LEVEL environment variable support to control uvicorn server log verbosity
  • Defaults to "info" for backward compatibility
  • Applied to both static and run commands in the ADK CLI

Motivation

Currently the uvicorn log level is not configurable at deployment time, resulting in excessive logs (health checks, startup messages) in production environments. This change allows operators to set the desired verbosity via an environment variable.

Usage

# Reduce log noise in production
export UVICORN_LOG_LEVEL=warning

Closes #1269

Read UVICORN_LOG_LEVEL env var to control uvicorn server log verbosity,
defaulting to "info" for backward compatibility.

Closes kagent-dev#1269

Signed-off-by: Leo Zhang <ruriuiz@gmail.com>
@Ruiruiz30 Ruiruiz30 force-pushed the feat/configurable-uvicorn-log-level branch from a9a9990 to c12650e Compare February 7, 2026 10:20
@EItanya
Copy link
Contributor

EItanya commented Feb 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Allow changing uvicorn log level

2 participants