Skip to content

Conversation

@dorianim
Copy link
Member

@dorianim dorianim commented Nov 13, 2025

Description

Adds the module name to the logs. Looks like this:

[INFO] (tests.test_logging) info

Fixes #68

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Plugin (a new plugin or an updated version of an existing plugin)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Tested locally

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@codecov-commenter
Copy link

codecov-commenter commented Nov 13, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.60%. Comparing base (dfe75cc) to head (e5710b1).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...3/dist-packages/linuxmusterLinuxclient7/logging.py 85.71% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   56.53%   56.60%   +0.06%     
==========================================
  Files          18       18              
  Lines        1530     1537       +7     
==========================================
+ Hits          865      870       +5     
- Misses        665      667       +2     

☔ 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.

@dorianim dorianim force-pushed the feat/module-name-in-logs branch from 618cdf3 to 3de3c56 Compare November 13, 2025 20:25
@dorianim dorianim force-pushed the feat/module-name-in-logs branch from 3de3c56 to e5710b1 Compare November 13, 2025 20:34
@dorianim dorianim merged commit a1ce62d into master Nov 13, 2025
5 checks passed
@dorianim dorianim deleted the feat/module-name-in-logs branch November 13, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add module to logs

3 participants