Skip to content

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

@minherz

Description

@minherz

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.

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/java-logging-logback API.lang: javaIssues specific to Java.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions