-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Implement debug logging in Cowboy the same way the ssl does #1336
Comments
Also |
This would be very useful for debugging http2 frames, especially when the service is behind a proxy, and you need to debug frames sent between the backend and the proxy |
My organization would be particularly interested in logging HTTP headers. This article gives the guidelines we desire to meet: https://www.stigviewer.com/stig/application_security_and_development/2017-12-18/finding/V-69375 |
@jordanfranssen This ticket in particular is about debug logging. It's not meant to be used in production. If I had to implement HTTP headers logging from scratch I would use If you are not familiar with Erlang I am available for consulting or development. I am the author of Cowboy and also work with the RabbitMQ team on a regular basis, so I'm sure I can arrange something depending on your needs. I've done a lot of work on rabbitmq-management. You can find more information about the services I provide and a contact email at https://ninenines.eu/services/ |
See http://blog.erlang.org/ssl-logging-in-otp-22/ for a full description.
One could enable debug logging in Cowboy to see all the packets transmitted and what Cowboy thinks of them, something like that. Could make some client issues obvious in particular.
The text was updated successfully, but these errors were encountered: