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

logging: let users write structured json logs to stdout #3908

Closed
0xSage opened this issue Apr 8, 2021 · 1 comment
Closed

logging: let users write structured json logs to stdout #3908

0xSage opened this issue Apr 8, 2021 · 1 comment
Assignees
Labels
api: logging Issues related to the Cloud Logging API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@0xSage
Copy link
Contributor

0xSage commented Apr 8, 2021

To support agents teams using this lib, Cloud Functions users, and Cloud Run users, we should let users write structured log entries (in json format) to stdout. This will be subsequently picked up by agents running in specific environments. This also allows nice debugging ux during development.

These changes should also refactor: #3863

@0xSage 0xSage added the triage me I really want to be triaged. label Apr 8, 2021
@product-auto-label product-auto-label bot added the api: logging Issues related to the Cloud Logging API. label Apr 8, 2021
@0xSage 0xSage added priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. and removed triage me I really want to be triaged. labels Apr 9, 2021
@0xSage
Copy link
Contributor Author

0xSage commented Jun 29, 2021

Preview for this feature https://pkg.go.dev/cloud.google.com/go/logging/jsonlog

@0xSage 0xSage closed this as completed Jun 29, 2021
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 Cloud Logging API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant