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: integrate with Java servlet based Web servers to setup context #753

Closed
minherz opened this issue Nov 18, 2021 · 1 comment
Assignees
Labels
api: logging Issues related to the googleapis/java-logging 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 Nov 18, 2021

Implement a stand-alone package that implements ServletContainerInititializer and integrates a listener (e.g. ServletRequestListener) to capture relevant context information and store it using context handler implemented by PR #752.

Parent #687

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

minherz commented Dec 5, 2021

Application developers can manually un/set the Http and tracing context using the ContextHandler class.
To automate the process developers can use java-logging-servlet-initializer.

@minherz minherz closed this as completed Dec 5, 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 googleapis/java-logging 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