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

Inconsistent logging of 501 websocket response depending on whether logBody is true or false #6221

Open
wongelz opened this issue Apr 2, 2022 · 0 comments

Comments

@wongelz
Copy link

wongelz commented Apr 2, 2022

Very closely related to http4s/blaze#659, if you change logBody=true in the example, the 501 message isn't logged at all.

Expecting the same (incorrect :P) log message but with a body:
ie. HTTP/1.1 501 Not Implemented...body=This is a WebSocket route.

Instead nothing is logged besides Unknown type: Close(Array(2)) and Accepted connection

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

1 participant