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
Debugging output is useless #209
Comments
I'm not sure specifically backtrace can be helpful when debugging when the client is rejected.
Unfortunately, current version of Websocat is based on rather crude and unmaintained library and new design for Websocat is far away (and logs tend to become cluttered there as well). How log messages should look like per you idea? Can you provide imaginary transcript of what the logs should have looked like? |
When using '-vvvv' option of websocat, output rarely contains useful details. There are lots of odd messages, such as
none of which confer actual information unless you are the websocat developer.
But when the process crashes or returns error to client, there are only extremely succinct log messages such as
↑ the above message is displayed when websocat, launched with most verbose options (
-vvvv
), rejects a client in #208.Other libraries, such as python-websockets default to logging a full stacktrace each time they reject client. Websocat is written in Rust, so I don't expect it, but it would be nice to at least log major decisions, happening inside the code.
The text was updated successfully, but these errors were encountered: