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

Full http logging #427

Open
andrewbaxter opened this issue Jan 14, 2024 · 1 comment
Open

Full http logging #427

andrewbaxter opened this issue Jan 14, 2024 · 1 comment

Comments

@andrewbaxter
Copy link

For http request issues (wrong headers, etc) a way to log full http requests and responses would be helpful.

I'd be happy to add this - should it be gated behind a config option somewhere?

@mcpherrinm
Copy link
Contributor

I think this makes sense, and I also think it makes sense to have it configurable. While we're not using Go's "slog" library in Pebble so far, it might make sense to use it for this, and have the log level configurable. Then full HTTP logging can be behind a debug level log flag, disabled by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants