Skip to content
Snippets Groups Projects

Fix excessive logging after executing conda functions

Merged André Anjos requested to merge fix-excessive-logging into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading