diff --git a/vllm/envs.py b/vllm/envs.py index d54de9da2531..0115e16dbb13 100644 --- a/vllm/envs.py +++ b/vllm/envs.py @@ -295,7 +295,7 @@ def maybe_convert_int(value: Optional[str]) -> Optional[int]: # this is used for configuring the default logging level "VLLM_LOGGING_LEVEL": - lambda: os.getenv("VLLM_LOGGING_LEVEL", "INFO"), + lambda: os.getenv("VLLM_LOGGING_LEVEL", "INFO").upper(), # if set, VLLM_LOGGING_PREFIX will be prepended to all log messages "VLLM_LOGGING_PREFIX":