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

Add basic support to Google Cloud Logging format (v2) #1719

Merged
merged 1 commit into from Jul 22, 2022

Conversation

lcobucci
Copy link
Contributor

Google Cloud Logging doesn't show the correct level log when using JsonFormatter, making observability a bit trickier. This applies minor tweaks to the default format, allowing log entries to be properly represented.

There are alternative packages to this but they add fields that aren't strictly required - also performing debug_backtrace() calls that are usually not desired when in production mode.

This is a backport of #1690

Google Cloud Logging doesn't show the correct level log when using
JsonFormatter, making observability a bit trickier. This applies minor
tweaks to the default format, allowing log entries to be properly
represented.

There are alternative packages to this but they add fields that aren't
strictly required - also performing `debug_backtrace()` calls that are
usually not desired when in production mode.

This is a backport of Seldaek#1690

Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
@lcobucci
Copy link
Contributor Author

@Seldaek do you think we need anything else to get it released?

@Seldaek Seldaek added this to the 2.x milestone Jul 22, 2022
@Seldaek Seldaek merged commit 197f534 into Seldaek:2.x Jul 22, 2022
@Seldaek
Copy link
Owner

Seldaek commented Jul 22, 2022

Thanks

@lcobucci lcobucci deleted the add-gke-support-v2 branch July 22, 2022 14:47
@lyrixx lyrixx mentioned this pull request Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants