From 12116467f5f15b6d1a0cfd56bafa12da09b3f812 Mon Sep 17 00:00:00 2001 From: Charlie Doern Date: Tue, 16 Dec 2025 10:37:18 -0500 Subject: [PATCH] fix: remove run config from logs (#4395) # What does this PR do? since run.yaml is gone, update logs to say "stack config" or "stack configuration" rather than run ## Test Plan check logs Signed-off-by: Charlie Doern --- src/llama_stack/cli/stack/run.py | 2 +- src/llama_stack/core/server/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/llama_stack/cli/stack/run.py b/src/llama_stack/cli/stack/run.py index 9bd5b269e..53aa84bbc 100644 --- a/src/llama_stack/cli/stack/run.py +++ b/src/llama_stack/cli/stack/run.py @@ -166,7 +166,7 @@ class StackRun(Subcommand): config_file = None if config_file: - logger.info(f"Using run configuration: {config_file}") + logger.info(f"Using stack configuration: {config_file}") try: config_dict = yaml.safe_load(config_file.read_text()) diff --git a/src/llama_stack/core/server/server.py b/src/llama_stack/core/server/server.py index a42ed413b..7fd0a6182 100644 --- a/src/llama_stack/core/server/server.py +++ b/src/llama_stack/core/server/server.py @@ -512,7 +512,7 @@ def create_app() -> StackApp: def _log_run_config(run_config: StackConfig): """Logs the run config with redacted fields and disabled providers removed.""" - logger.info("Run configuration:") + logger.info("Stack Configuration:") safe_config = redact_sensitive_fields(run_config.model_dump(mode="json")) clean_config = remove_disabled_providers(safe_config) logger.info(yaml.dump(clean_config, indent=2))