How to disable logging #1195
-
The proposed solution of #1089 is to add the custom plugin, which prints access logs. In pypa/pip#11091 windows CI has been worked 6 hours and then failed. I think, I need to disable logging at all, but there is no way to do it. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
@q0w You can remove However, it's unclear to me why a call to Please let me know if removing |
Beta Was this translation helpful? Give feedback.
@q0w You can remove
super()
call and it will automatically disable logging from the core, leaving only theprint
statements as the only logging statement for the instance. https://github.com/pypa/pip/pull/11091/files#diff-35c83feabce838957ec0526f0280604f479df39c03e56ca51b65ed34de098c81R22However, it's unclear to me why a call to
super()
results in test failures, specially forwindows/1
only runs. Does your test processes stdout/stderr for assertions? I looked at the runs but didn't see any specific error logs. I also seewindows/2
passes. Wondering ifwindows/2
runs is also using proxy.py?Please let me know if removing
super()
helps.