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): better provider resolution lifecycle logs #5464

Merged
merged 1 commit into from Nov 21, 2023

Conversation

eysi09
Copy link
Collaborator

@eysi09 eysi09 commented Nov 21, 2023

What this PR does / why we need it:

This commits add more logging around the provider resolution phase of the Garden initialization. Also ensures that the log context passed to the plugin handlers has the provider name set.

For context, these log improvements I've been making are part of the "getting started" video work. The idea there is to explain how Garden works and we need better lifecycle logging to support that.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@eysi09 eysi09 requested a review from a team November 21, 2023 14:01
@vvagaytsev
Copy link
Collaborator

@eysi09 there are some test failures. Please check if those are caused by the changes made in the PR.

This commits add more logging around the provider resolution phase of
the Garden initialization.

Also ensures that the log context passed to the plugin handlers has the
provider name set.
@eysi09
Copy link
Collaborator Author

eysi09 commented Nov 21, 2023

@eysi09 there are some test failures. Please check if those are caused by the changes made in the PR.

Should be fixed now.

@vvagaytsev vvagaytsev added this pull request to the merge queue Nov 21, 2023
eysi09 added a commit that referenced this pull request Nov 21, 2023
Before this commit, our primary log color was chalk.grey and people
generally agree that it's too vague.

This commit changes the primary log color we've been using since we
first released Garden to chalk.white for better accessibility and more
fun.

In general we can make this configurable. But I figured I'd just bite
the bullet.

See also discussion in: #5464
Merged via the queue into main with commit 7d5557f Nov 21, 2023
45 checks passed
@vvagaytsev vvagaytsev deleted the better-provider-logs branch November 21, 2023 16:57
github-merge-queue bot pushed a commit that referenced this pull request Nov 21, 2023
Before this commit, our primary log color was chalk.grey and people
generally agree that it's too vague.

This commit changes the primary log color we've been using since we
first released Garden to chalk.white for better accessibility and more
fun.

In general we can make this configurable. But I figured I'd just bite
the bullet.

See also discussion in: #5464
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

2 participants