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

improvement(logger): various tweaks to log lines #5452

Merged
merged 1 commit into from Nov 21, 2023
Merged

Conversation

eysi09
Copy link
Collaborator

@eysi09 eysi09 commented Nov 20, 2023

What this PR does / why we need it:

Various tweaks to log lines. Namely:

  • Show provider name in the section for ephemeral-kubernetes
  • Add origin to K8s logs
  • Add origin to build util logs

Note that adding origin to a given log context means that it'll be printed with the log line.

So instead of:

deploy.api => Deployment/web: Started container web

We print:

deploy.api => [kubernetes] Deployment/web: Started container web

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Namely:

- Show provider name in the section for `ephemeral-kubernetes`
- Add origin to K8s logs
- Add origin to build util logs

Note that adding `origin` to a given log context means that it'll be
printed with the log line.

So instead of:

`deploy.api => Deployment/web: Started container web`

We print:

`deploy.api => [kubernetes] Deployment/web: Started container web`
Copy link
Contributor

@shumailxyz shumailxyz left a comment

Choose a reason for hiding this comment

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

💯

@shumailxyz shumailxyz added this pull request to the merge queue Nov 21, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 21, 2023
@vvagaytsev vvagaytsev added this pull request to the merge queue Nov 21, 2023
Merged via the queue into main with commit 11f7614 Nov 21, 2023
45 checks passed
@vvagaytsev vvagaytsev deleted the more-logline-fixes branch November 21, 2023 12:14
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.

None yet

3 participants