Cursor Agent and Mateo Wang
1cbe744114
feat(spend-logs): opt-in suppression of stack traces in spend-tracking error logs
...
Adds LITELLM_SUPPRESS_SPEND_LOG_TRACEBACKS env var. When set to true and the
proxy log level is INFO or above, spend-tracking error paths emit a single
ERROR line without the full traceback. Stack traces are preserved at DEBUG
and the Sentry / proxy_logging_obj.failure_handler path is unchanged.
The new spend_log_error helper is wired through the spend write hot path:
- DBSpendUpdateWriter (update_database, _update_*_db, batch upsert,
redis-commit fallbacks)
- _ProxyDBLogger._PROXY_track_cost_callback
- get_logging_payload exception path
- update_spend / update_daily_tag_spend / spend logs queue monitor
Resolves LIT-2704.
Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com >
2026-05-02 00:44:34 +00:00
..
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-05-01 10:10:07 -07:00
2026-04-17 13:02:59 -07:00
2026-05-01 14:47:52 -07:00
2026-04-17 17:12:35 -07:00
2026-03-28 18:39:32 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-21 15:03:40 +05:30
2026-05-01 11:45:12 -07:00
2026-04-29 22:02:39 -07:00
2026-05-01 14:47:52 -07:00
2026-05-01 15:54:10 -07:00
2026-04-17 13:02:59 -07:00
2026-04-30 02:39:28 +00:00
2026-05-02 00:44:34 +00:00
2026-04-25 15:03:24 -03:00
2026-04-29 20:14:30 +00:00
2026-04-30 18:04:47 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 16:26:45 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-29 22:02:39 -07:00
2026-04-17 13:02:59 -07:00
2026-04-29 19:21:57 +00:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-25 15:04:05 -03:00
2026-04-17 13:02:59 -07:00
2026-04-20 15:08:00 -07:00
2026-03-27 21:21:43 +05:30
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-16 19:04:26 +05:30
2026-04-17 13:02:59 -07:00
2026-04-23 18:41:01 +05:30
2026-04-25 17:10:41 -03:00
2026-04-22 18:00:04 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-28 20:10:42 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-15 18:18:52 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-05-01 23:03:13 +05:30
2026-03-23 10:44:17 -07:00
2026-04-17 13:02:59 -07:00
2026-04-25 23:13:39 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-15 17:48:25 +05:30
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-27 08:58:41 +05:30
2026-05-01 17:24:21 +00:00
2026-03-28 19:17:38 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-03-15 14:20:45 +05:30
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-28 20:10:42 -07:00
2026-04-08 19:50:50 +05:30
2026-04-17 13:02:59 -07:00