mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
A tracing event reached the Python logger only on a thread a call had scoped. A detached task on the Rust runtime has no scoped dispatch, so its warnings were dropped. The failed auth cache invalidation publish was one of them, and the integration test that waits for that warning never converged. The extension now installs a process-wide sink when it loads. It takes warnings and errors from LiteLLM targets on any thread no call scoped and logs them without request correlation. Records from runtime threads go through a bounded queue to one task that delivers them from the blocking pool, so a slow log handler costs lines and never an async worker. A full queue drops records and reports how many. The failed publish warning also quotes and escapes its cache key so it stays on one line. |
||
|---|---|---|
| .. | ||
| stores | ||
| __init__.py | ||