Unable to see logs for bad request

Summary

When I try to connect to the websocket endpoint /_stcore/stream, I see some logs for successful requests but no logs for bad ones.

Let’s say my request is missing some headers, I get 400 response but I don’t see any logs in console.

Also, is there a way to customise logs for websocket endpoint /_stcore/stream?

That is probably because nothing is logged. But you can log it yourself.

Sure there is. But there is no public API, if that is what you mean. You can still change the streamlit code by editing the files or monkey-patching or log from your own code.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.