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

feat/106: start adding log level adjustments #120

Closed
wants to merge 2 commits into from

Conversation

devanbenz
Copy link
Member

  • Starts adding logging level checking via ENV for DEBUG logs

@devanbenz devanbenz requested a review from a team as a code owner June 24, 2024 01:01
@devanbenz devanbenz linked an issue Jun 24, 2024 that may be closed by this pull request
@devanbenz
Copy link
Member Author

@lazyguru What levels should we be indicating? In most other services that I've worked on we LOG warns/errors/info and then require a flag for DEBUG. Should we be doing that here? If so this PR is basically that lol. Pretty simple.

Copy link
Member

@lazyguru lazyguru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not how you should configure logging. We are using ZeroLog which already has a facility for configuring log level: https://github.com/rs/zerolog?tab=readme-ov-file#setting-global-log-level

@lazyguru
Copy link
Member

Closing in favor of #128

@lazyguru lazyguru closed this Jul 13, 2024
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 support to adjust logging level
2 participants