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(compute/metadata): add logging #10864

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

codyoss
Copy link
Member

@codyoss codyoss commented Sep 13, 2024

In order to add this correctly the default metadataClient needs to be initalized lazily. This is because calling clog.New has some logic that freezes logging configuration, so we need to ensure the user has a chance to set this config before global variables from a package are loaded.

In order to add this correctly the default metadataClient needs to
be initalized lazily. This is because calling clog.New has some
logic that freezes logging configuration, so we need to ensure
the user has a chance to set this config before global variables
from a package are loaded.
@product-auto-label product-auto-label bot added the api: compute Issues related to the Compute Engine API. label Sep 13, 2024
@codyoss
Copy link
Member Author

codyoss commented Sep 13, 2024

This requires googleapis/gax-go#372

@codyoss codyoss added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: compute Issues related to the Compute Engine API. do not merge Indicates a pull request not ready for merge, due to either quality or timing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant