Skip to content

fix(logging): stop adding log handlers on every get_logger() call - #158

Open
tkislan wants to merge 3 commits into
mainfrom
tk/fix-duplicate-log-handlers
Open

tkislan wants to merge 3 commits into
mainfrom
tk/fix-duplicate-log-handlers

test(logging): restore os.environ after each LoggerManager test

59ea696
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 4, 2026 in 0s

78.58% (+0.01%) compared to 39537e8

View this Pull Request on Codecov

78.58% (+0.01%) compared to 39537e8

Details

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.58%. Comparing base (39537e8) to head (59ea696).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
deepnote_toolkit/logging.py 77.77% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #158      +/-   ##
==========================================
+ Coverage   78.57%   78.58%   +0.01%     
==========================================
  Files         121      121              
  Lines        6935     6936       +1     
  Branches     1009     1010       +1     
==========================================
+ Hits         5449     5451       +2     
  Misses       1179     1179              
+ Partials      307      306       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.