feat(trace): support SGLANG_TRACE_LEVEL env var for startup trace level (#24716)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
2e69266f84
commit
95985f983d
@@ -32,7 +32,7 @@ opentelemetry_initialized = False
|
||||
_trace_context_propagator = None
|
||||
tracer: Optional[trace.Tracer] = None
|
||||
|
||||
global_trace_level = 3
|
||||
global_trace_level = get_int_env_var("SGLANG_TRACE_LEVEL", 3)
|
||||
|
||||
TRACE_HEADERS = ["traceparent", "tracestate"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user