Skip to content

fix: gate pip freeze output behind LOG_LEVEL=debug on startup - #1466

Open
0x5t4l1n wants to merge 1 commit into
marqo-ai:mainlinefrom
0x5t4l1n:fix/pip-freeze-debug-only
Open

fix: gate pip freeze output behind LOG_LEVEL=debug on startup#1466
0x5t4l1n wants to merge 1 commit into
marqo-ai:mainlinefrom
0x5t4l1n:fix/pip-freeze-debug-only

Conversation

@0x5t4l1n

@0x5t4l1n 0x5t4l1n commented Aug 2, 2026

Copy link
Copy Markdown

Summary

Fixes #500pip freeze ran unconditionally on every startup, cluttering default-level logs with hundreds of package lines.

Change in components/marqo/run_marqo.sh: Wrap the pip freeze call in if [ "$MARQO_LOG_LEVEL" = "debug" ] so it only prints when the operator explicitly opts into verbose output.

Test plan

  • Start Marqo with default log level — pip freeze output absent
  • Start with MARQO_LOG_LEVEL=debugpip freeze output present

Resolves marqo-ai#500. Marqo startup logs were cluttered because pip freeze ran
unconditionally. Move the pip freeze call inside a LOG_LEVEL=debug guard
so it only prints when the operator explicitly requests verbose output,
keeping default-level startup clean.
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.

Squash pip freeze on startup [ENHANCEMENT]

1 participant