Skip to content

Add --log-config support via yaml configuration file#177

Open
adybbroe wants to merge 3 commits intopytroll:mainfrom
adybbroe:add-log-config-yaml
Open

Add --log-config support via yaml configuration file#177
adybbroe wants to merge 3 commits intopytroll:mainfrom
adybbroe:add-log-config-yaml

Conversation

@adybbroe
Copy link
Copy Markdown
Contributor

@adybbroe adybbroe commented Apr 6, 2026

Add --log-config support to geographic_gatherer and segment_gatherer and initialize logging via shared setup_logging()

Adam.Dybbroe added 2 commits April 6, 2026 13:51
…and initialize logging via shared setup_logging()

Signed-off-by: Adam.Dybbroe <[email protected]>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 6, 2026

Codecov Report

❌ Patch coverage is 76.22378% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.92%. Comparing base (d5fa6fa) to head (9f75b2f).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
pytroll_collectors/logging.py 55.00% 18 Missing ⚠️
pytroll_collectors/scripts/geographic_gatherer.py 0.00% 4 Missing ⚠️
pytroll_collectors/scripts/trollstalker.py 0.00% 4 Missing ⚠️
pytroll_collectors/region_collector.py 83.33% 3 Missing ⚠️
pytroll_collectors/utils.py 76.92% 3 Missing ⚠️
pytroll_collectors/scripts/segment_gatherer.py 0.00% 1 Missing ⚠️
pytroll_collectors/trollstalker.py 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #177      +/-   ##
==========================================
+ Coverage   80.73%   80.92%   +0.19%     
==========================================
  Files          41       41              
  Lines        5140     5207      +67     
==========================================
+ Hits         4150     4214      +64     
- Misses        990      993       +3     
Flag Coverage Δ
unittests 80.92% <76.22%> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adybbroe adybbroe requested review from mraspaud and pnuu April 6, 2026 17:11
@adybbroe adybbroe marked this pull request as ready for review April 23, 2026 12:33
@mraspaud
Copy link
Copy Markdown
Member

Closes #171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants