Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't set root logger to INFO to avoid turning on all packages' logs #439

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

srowen
Copy link

@srowen srowen commented Feb 7, 2025

A small request! the line of code below sets the root logger's level to INFO. This causes INFO messages to be printed for every package that isn't manually set otherwise. This can be really noisy; httpx will for instance print a message for each request.

Changing this here would mean INFO messages from alpaca are not printed by default; that's also Python's default.

If that's undesirable, and you're open to it, I can open a PR that routes all logging through an "alpaca_eval" logger that can be set to INFO individually.

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.

1 participant