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

🔇 Fix sh logs too verbose #3048

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Conversation

AndreMiras
Copy link
Member

When setuptools is not present and the root logger has no handlers, Wheels would configure the root logger with DEBUG level, refs:

Both of these conditions are met in our CI, leading to very verbose and unreadable sh logs. Patching it prevents that.

@AndreMiras AndreMiras force-pushed the feature/fix_sh_log_too_verbose branch from f3a09e5 to 7745526 Compare August 13, 2024 08:49
When setuptools is not present and the root logger has no handlers,
Wheels would configure the root logger with DEBUG level, refs:
- https://github.com/pypa/wheel/blob/0.44.0/src/wheel/util.py
- https://github.com/pypa/wheel/blob/0.44.0/src/wheel/_setuptools_logging.py

Both of these conditions are met in our CI, leading to very verbose
and unreadable `sh` logs. Patching it prevents that.
@AndreMiras AndreMiras force-pushed the feature/fix_sh_log_too_verbose branch from 7745526 to a85d24e Compare August 16, 2024 17:31
@AndreMiras AndreMiras merged commit e982301 into develop Aug 16, 2024
7 checks passed
@AndreMiras AndreMiras deleted the feature/fix_sh_log_too_verbose branch August 16, 2024 17:31
@AndreMiras AndreMiras mentioned this pull request Aug 20, 2024
4 tasks
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