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

structured logging: auto-populate log messages with additional metadata #555

Closed
minherz opened this issue Sep 27, 2021 · 2 comments
Closed
Assignees
Labels
api: logging Issues related to the googleapis/java-logging-logback API. lang: java Issues specific to Java. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@minherz
Copy link
Contributor

minherz commented Sep 27, 2021

Is your feature request related to a problem? Please describe.
Logs written by LoggingAppender require developing an enhancer to auto populating missing metadata (per entry) such as source location, http request and tracing information, etc. In result the user experience when using Log Explorer and other Ops tools is poor.

Describe the solution you'd like
Use java-logging API such as populateMetadata() to support this functionality in the logback appender.
Add an opt-out configuration to disable automatic population per appender.

@minherz minherz added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. lang: java Issues specific to Java. labels Sep 27, 2021
@minherz minherz self-assigned this Sep 27, 2021
@product-auto-label product-auto-label bot added the api: logging Issues related to the googleapis/java-logging-logback API. label Sep 27, 2021
@minherz
Copy link
Contributor Author

minherz commented Feb 14, 2022

Somehow this issue was not automatically fixed although it was referenced in the multiple PRs. Close it now.

@minherz minherz closed this as completed Feb 14, 2022
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/java-logging-logback API. lang: java Issues specific to Java. 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