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

Improve initial logging experience #405

Merged
merged 1 commit into from
Mar 23, 2021
Merged

Conversation

somaritane
Copy link
Contributor

@somaritane somaritane commented Mar 22, 2021

  • Wire logging settings via helm chart values
  • Set simple log format as default preference
  • Use NO_COLOR env variable for color settings as per https://no-color.org/
  • Disable NO_COLOR by default, but enforce for helm deployments
  • Use RFC3339 as datetime format for all loggers
  • Use original common field names

This PR contributes to work made in the scope of #331

- Wire logging settings via helm chart values
- Set `simple` log format as default preference
- Use `NO_COLOR` env variable for color settings as per https://no-color.org/
- Disable `NO_COLOR` by default, but enforce for helm deployments
- Use `RFC3339` as datetime format for all loggers
@somaritane somaritane force-pushed the log-defaults-improvements branch from be5d0af to 1fe3678 Compare March 23, 2021 00:07
@somaritane somaritane changed the title Improve initial customer logging experience Improve initial logging experience Mar 23, 2021
Copy link
Collaborator

@kuritka kuritka left a comment

Choose a reason for hiding this comment

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

Good Job @somaritane 👍
I have only one uncertainty

controllers/logging/log.go Show resolved Hide resolved
@somaritane somaritane linked an issue Mar 23, 2021 that may be closed by this pull request
@kuritka kuritka self-requested a review March 23, 2021 08:41
Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

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

Looks great, just would be great to get some clarification on test sematics.

We need to be listed on https://no-color.org/ after the merge! :)

@somaritane somaritane requested a review from ytsarev March 23, 2021 19:43
@somaritane somaritane merged commit 89946ce into master Mar 23, 2021
@somaritane somaritane deleted the log-defaults-improvements branch March 23, 2021 22:50
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.

Logger Enhancements
3 participants