From 6d6f38495fec19271e0de129d0e877d243ff27f2 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 6 Dec 2024 19:52:29 +0000 Subject: [PATCH] Move a prometheus related log message to debug At startup, I noticed this message. INFO 12-06 19:45:45 api_server.py:252] vLLM to use /tmp/tmpllec8im4 as PROMETHEUS_MULTIPROC_DIR This seems like an implementation detail of vLLM just doing the right thing. It doesn't seem interesting or relevant, except when debugging something very specific with prometheus integration. Signed-off-by: Russell Bryant --- vllm/entrypoints/openai/api_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vllm/entrypoints/openai/api_server.py b/vllm/entrypoints/openai/api_server.py index 05c4fca298f3f..c7bc30040279c 100644 --- a/vllm/entrypoints/openai/api_server.py +++ b/vllm/entrypoints/openai/api_server.py @@ -249,8 +249,8 @@ def mount_metrics(app: FastAPI): prometheus_multiproc_dir_path = os.getenv("PROMETHEUS_MULTIPROC_DIR", None) if prometheus_multiproc_dir_path is not None: - logger.info("vLLM to use %s as PROMETHEUS_MULTIPROC_DIR", - prometheus_multiproc_dir_path) + logger.debug("vLLM to use %s as PROMETHEUS_MULTIPROC_DIR", + prometheus_multiproc_dir_path) registry = CollectorRegistry() multiprocess.MultiProcessCollector(registry)