Skip to content

feat/106: start adding log level adjustments#120

Closed
devanbenz wants to merge 2 commits intosublinks-java:mainfrom
devanbenz:feat/106-logging-level
Closed

feat/106: start adding log level adjustments#120
devanbenz wants to merge 2 commits intosublinks-java:mainfrom
devanbenz:feat/106-logging-level

Conversation

@devanbenz
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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