Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

structured logging: add Http request context discovery #687

@minherz

Description

@minherz

Is your feature request related to a problem? Please describe.
If not defined, the httpRequest field in LogEntry should be auto-populated when writing log entries to backend

Describe the solution you'd like
Provide a method to define an Http context that can be used by a Web server application to publish info about the request context and also to remove the published context.
The method should support multi-threading. It should be available from any thread of the application process.

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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions