Skip to content

Commit 8031141

Browse files
authored
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.
1 parent f7adf58 commit 8031141

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llama_stack/log.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def parse_environment_config(env_config: str) -> dict[str, int]:
9999
Dict[str, int]: A dictionary mapping categories to their log levels.
100100
"""
101101
category_levels = {}
102-
for pair in env_config.split(";"):
102+
delimiter = ","
103+
for pair in env_config.split(delimiter):
103104
if not pair.strip():
104105
continue
105106

0 commit comments

Comments
 (0)