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

Log all request and response headers #2556

Closed
cwagnello opened this issue Nov 13, 2018 · 6 comments
Closed

Log all request and response headers #2556

cwagnello opened this issue Nov 13, 2018 · 6 comments
Labels
stale Stale issue or pull request which will be closed soon

Comments

@cwagnello
Copy link

It would be nice to have a flag to allow all request headers and all response headers to be logged instead of having to specify which ones we want.

@eichstam
Copy link

Great idea, very useful.

@nickbabcock
Copy link
Contributor

Can you expand a bit on your use case?

@eichstam
Copy link

My dropwizard services receives requests from many diverse clients. Occasionally I want to debug issues and would like to log all request headers so I can pick through any additional information passed along in headers. Since the client apps are diverse I don't know what all the possible headers are called.

@nickbabcock
Copy link
Contributor

I forget, when you enable debug logging for jetty, does it log the headers?

@cwagnello
Copy link
Author

I'm not sure. I don't see much in the Jetty logging docs about what gets logged.

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Stale issue or pull request which will be closed soon label Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or pull request which will be closed soon
Projects
None yet
Development

No branches or pull requests

3 participants