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

fix(logging): Replace log-level parameter by GATUS_LOG_LEVEL env var #895

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

TwiN
Copy link
Owner

@TwiN TwiN commented Nov 14, 2024

Summary

Replace log-level parameter by GATUS_LOG_LEVEL env var

Tweaks implementation of logging levels in #872

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Updated documentation in README.md, if applicable.

@TwiN TwiN added the bug Something isn't working label Nov 14, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 14, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 38.41060% with 93 lines in your changes missing coverage. Please review.

Project coverage is 77.42%. Comparing base (8060a77) to head (dc2e1ec).

Files with missing lines Patch % Lines
main.go 0.00% 32 Missing ⚠️
storage/store/sql/sql.go 54.83% 14 Missing ⚠️
client/config.go 18.18% 9 Missing ⚠️
api/endpoint_status.go 0.00% 7 Missing ⚠️
config/config.go 73.91% 5 Missing and 1 partial ⚠️
controller/controller.go 0.00% 4 Missing ⚠️
watchdog/alerting.go 73.33% 4 Missing ⚠️
client/client.go 0.00% 3 Missing ⚠️
alerting/provider/pagerduty/pagerduty.go 0.00% 2 Missing ⚠️
api/spa.go 0.00% 2 Missing ⚠️
... and 8 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #895      +/-   ##
==========================================
- Coverage   77.55%   77.42%   -0.14%     
==========================================
  Files          72       72              
  Lines        5788     5784       -4     
==========================================
- Hits         4489     4478      -11     
- Misses       1083     1089       +6     
- Partials      216      217       +1     

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

@TwiN TwiN merged commit 0113175 into master Nov 14, 2024
1 check passed
@TwiN TwiN deleted the fix/log-level-to-env-var branch November 14, 2024 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants