mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-07 07:58:09 +00:00
The proxy already supports JSON logging through JSON_LOGS, but the chart
exposed no option for it, so operators shipping to a centralized log system
had to discover the variable and hand-roll it through envVars.
jsonLogs: true injects JSON_LOGS=True. Because the proxy reads it as
bool(os.getenv("JSON_LOGS", False)), any non-empty value is truthy, so
jsonLogs: false omits the variable rather than setting it to a falsy-looking
string. Defining JSON_LOGS in envVars still wins, matching how logLevel
already defers to envVars.
|
||
|---|---|---|
| .. | ||
| litellm | ||
| litellm-helm | ||