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

Tweak root logging handlers #554

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Tweak root logging handlers #554

merged 1 commit into from
Feb 2, 2023

Conversation

michalhabera
Copy link
Contributor

Should fix #553

I think the core problem comes from pypa/distutils#183 where logging in distutils was partially (there are few direct stdout writes anyway, thus we need the old redirect_stdout too) replaced with python logging module into root logger. Root logger does not output into stdout stream.

@jorgensd jorgensd self-requested a review February 2, 2023 10:43
Copy link
Member

@jorgensd jorgensd left a comment

Choose a reason for hiding this comment

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

Tested locally. Solves the issue

@jorgensd jorgensd merged commit a55fca9 into main Feb 2, 2023
@jorgensd jorgensd deleted the michal/cffi-logging branch February 2, 2023 11:19
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.

FFCx logger leaking information with setuptools>65.5.1
3 participants