Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: integrate automaxprocs/maxprocs with zerolog #102

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

michaeladler
Copy link
Member

Description

Log messages from automaxprocs/maxprocs are now seamlessly integrated into our existing logging framework.
Previously, automaxprocs/maxprocs relied solely on printf for outputting messages directly to stdout. This approach bypassed any user-defined log levels, leading to potential issues in log verbosity and management.

Issues Addressed

List and link all the issues addressed by this PR.

Change Type

Please select the relevant options:

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I have read the CONTRIBUTING document.
  • My changes adhere to the established code style, patterns, and best practices.
  • I have added tests that demonstrate the effectiveness of my changes.
  • I have updated the documentation accordingly (if applicable).
  • I have added an entry in the CHANGELOG to document my changes (if applicable).

@michaeladler michaeladler requested a review from stormc as a code owner January 16, 2024 09:39
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (a756aaa) 80.25% compared to head (d6ef400) 80.18%.

Files Patch % Lines
cmd/wfx/cmd/root/cmd.go 0.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
- Coverage   80.25%   80.18%   -0.08%     
==========================================
  Files          89       89              
  Lines        3748     3749       +1     
==========================================
- Hits         3008     3006       -2     
- Misses        534      536       +2     
- Partials      206      207       +1     

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

Log messages from automaxprocs/maxprocs are now seamlessly integrated
into our existing logging framework.
Previously, automaxprocs/maxprocs relied solely on `printf` for
outputting messages directly to stdout. This approach bypassed any
user-defined log levels, leading to potential issues in log verbosity
and management.

Signed-off-by: Michael Adler <[email protected]>
@michaeladler michaeladler force-pushed the chore/gomaxprocs-logging branch from b165bac to d6ef400 Compare January 16, 2024 09:44
@stormc stormc merged commit 26264a3 into siemens:main Jan 16, 2024
10 of 12 checks passed
@michaeladler michaeladler deleted the chore/gomaxprocs-logging branch January 16, 2024 13:06
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.

2 participants