Skip to content

ci: run proxy containers without debug logging - #32128

Merged
ryan-crabbe-berri merged 1 commit into
litellm_internal_stagingfrom
litellm_ci_disable_debug_logging
Jul 4, 2026
Merged

ryan-crabbe-berri merged 1 commit into
litellm_internal_stagingfrom
litellm_ci_disable_debug_logging

Conversation

@ryan-crabbe-berri

Copy link
Copy Markdown
Contributor

Relevant issues

Linear ticket

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • My PR passes all CI/CD checks (e.g., lint, format, unit tests)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have requested a Greptile review by commenting @greptileai and received a Confidence Score of at least 4/5 before requesting a maintainer review

Delays in PR merge?

If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).

Screenshots / Proof of Fix

Not applicable; this only changes CI proxy container startup flags. The change is visible in the diff and in CircleCI job logs, which will no longer stream litellm DEBUG output for these containers

Type

🚄 Infrastructure

Changes

The CircleCI jobs that boot a proxy container passed --detailed_debug, and litellm's log level defaults to DEBUG when LITELLM_LOG is unset (litellm/_logging.py), so those containers emitted very verbose debug logs for no real benefit

This drops --detailed_debug from the 11 proxy containers that used it and sets LITELLM_LOG=ERROR on them instead. Removing the flag alone would not have quieted anything since the default is already DEBUG, hence the explicit env var. ERROR rather than fully silencing keeps genuine failures visible in CI when something breaks

The schema-seed run and the bad-schema container are intentionally left alone; the latter asserts on a specific startup message in its container logs, so its logging is untouched

The CircleCI proxy containers passed --detailed_debug, and litellm's log
level defaults to DEBUG when LITELLM_LOG is unset, so CI produced very
verbose debug output for no reason. Drop --detailed_debug and set
LITELLM_LOG=ERROR on the proxy containers so real failures still surface
without the debug noise
@ryan-crabbe-berri
ryan-crabbe-berri requested a review from a team July 4, 2026 17:15
@greptile-apps

greptile-apps Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This CI-only change quiets proxy container logs in CircleCI by removing --detailed_debug from 11 docker run invocations and adding LITELLM_LOG=ERROR to each. The explicit env var is necessary because litellm/_logging.py defaults LITELLM_LOG to DEBUG when unset, so dropping the flag alone would not have reduced verbosity.

  • --detailed_debug dropped and LITELLM_LOG=ERROR added to all 11 affected proxy containers, keeping genuine failure output visible while eliminating routine debug noise.
  • The bad-schema container and schema-seed run are intentionally left unchanged; the bad-schema job asserts on a specific startup log message that must remain visible.

Confidence Score: 5/5

Safe to merge — purely a CI configuration change with no effect on production code or test logic.

The change is confined to CI container startup flags. LITELLM_LOG is a well-established env var in litellm/_logging.py (defaulting to DEBUG), ERROR is a valid Python logging level, and the only job with log-based assertions (bad-schema) is correctly left untouched.

No files require special attention.

Important Files Changed

Filename Overview
.circleci/config.yml Removes --detailed_debug from 11 proxy containers and adds LITELLM_LOG=ERROR to each; leaves the bad-schema and schema-seed containers untouched as documented.

Reviews (1): Last reviewed commit: "ci: run proxy containers without debug l..." | Re-trigger Greptile

@codecov

codecov Bot commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ryan-crabbe-berri
ryan-crabbe-berri enabled auto-merge (squash) July 4, 2026 18:18

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome. LGTM

@ryan-crabbe-berri
ryan-crabbe-berri merged commit daf1aab into litellm_internal_staging Jul 4, 2026
74 checks passed
@ryan-crabbe-berri
ryan-crabbe-berri deleted the litellm_ci_disable_debug_logging branch July 4, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants