Skip to content

structured logging: opt-out automatic population of metadata when writing log entries #689

@minherz

Description

@minherz

Is your feature request related to a problem? Please describe.
Support the mode of work when logging library does not auto-populate log entries with additional metadata details.

Describe the solution you'd like
All fields except to payload of all log entries passed to the write() API call will be auto-populated unless they already have values. A caller should be able to opt-out this behavior by providing a WriteOption.autoPopulateMetadata() flag or by using LoggingOptions.Builder.setAutoPopulateMetadata() to opt-out on the level of the Logging instance.

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/java-logging 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