From 803114180bff8d6aa219bc3f48459b13e20c4484 Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Mon, 11 Aug 2025 11:51:43 -0700 Subject: [PATCH] chore(logging)!: use comma as a delimiter (#3095) Using commas is much more shell-friendly. A semi-colon is a statement delimiter and must be escaped. This change is backwards incompatible but I imagine not many people are using this. I could be wrong. Looking for feedback. --- llama_stack/log.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llama_stack/log.py b/llama_stack/log.py index ab53e08c0..0a2d63ef6 100644 --- a/llama_stack/log.py +++ b/llama_stack/log.py @@ -99,7 +99,8 @@ def parse_environment_config(env_config: str) -> dict[str, int]: Dict[str, int]: A dictionary mapping categories to their log levels. """ category_levels = {} - for pair in env_config.split(";"): + delimiter = "," + for pair in env_config.split(delimiter): if not pair.strip(): continue