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

fix: logger uses default resource #207

Merged
merged 9 commits into from Mar 9, 2021
Merged

Conversation

daniel-sanche
Copy link
Contributor

@daniel-sanche daniel-sanche commented Mar 8, 2021

We recently made changes to allow default resource auto-detection when using the logging handlers. This PR adds the same feature to regular Logger objects for better feature parity.

This PR also pulls in refactored environment tests from the submodule repo

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 8, 2021
@product-auto-label product-auto-label bot added the api: logging Issues related to the googleapis/python-logging API. label Mar 8, 2021
@daniel-sanche daniel-sanche changed the title [DRAFT]: tests: refactor environment tests [DRAFT]: fix: logger uses default resource Mar 8, 2021
@daniel-sanche daniel-sanche marked this pull request as ready for review March 8, 2021 23:14
@daniel-sanche daniel-sanche requested review from a team as code owners March 8, 2021 23:14
@daniel-sanche daniel-sanche changed the title [DRAFT]: fix: logger uses default resource fix: logger uses default resource Mar 8, 2021
@daniel-sanche daniel-sanche added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 9, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 9, 2021
@daniel-sanche daniel-sanche added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 9, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 9, 2021
@simonz130 simonz130 added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Mar 9, 2021
@daniel-sanche daniel-sanche merged commit 0f90a79 into master Mar 9, 2021
@daniel-sanche daniel-sanche deleted the refactor-python-env branch March 9, 2021 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the googleapis/python-logging API. cla: yes This human has signed the Contributor License Agreement. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants