Access Log for websocket and middleware in traefik

Can you suggest how to get access log for websockets in traefik and middlewares.
In doc we can see http requests are printed in accesslog but websocket requests are missed.


The access log is for http requests, but WebSocket is not http nor a request, it’s a communication channel, so not in the http log.

WebSocket is a computer communications protocol, providing simultaneous two-way communication channels over a single Transmission Control Protocol (TCP) connection.

To achieve compatibility, the WebSocket handshake uses the HTTP Upgrade header to change from the HTTP protocol to the WebSocket protocol.

In this way, a two-way ongoing conversation can take place between the client and the server.

Source: Wikipedia