Fix excessive logging after executing conda functions
This MR fixes repetitive logging that occurs after executing conda functions. After inspection, conda alters the root logger of the logging module by resetting its level and adding 2 handlers that communicate directly to stderr. This MR introduces a context manager that undoes this inappropriate change. To use it, it is sufficient to write calls to the conda API with context manager.
Merge request reports
Activity
added 1 commit
- bb735337 - [build] Localize better where to protect from conda root-logger fiddling
added 1 commit
- d54dacb2 - [build,log] Move root_logger_protection() context manager to build, where it...
There may be one or two spots which remained uncovered, but we will see that as it goes - the recipe is in place to correct this issue.
Edited by André Anjosenabled an automatic merge when the pipeline for d54dacb2 succeeds
mentioned in commit d5bf1b1f
Please register or sign in to reply