#`wrangler tail` with WebSockets

1 messages · Page 1 of 1 (latest)

silk mirage
#

Is this not true for any incoming Websocket requests? - I have a console log inside of the websocket.addEventListener("message" in the websocket template on Cloudflares Github pages and I've noticed that it doesn't log those live, only when you close the connection do all the logs show up

#

@distant wyvern sorry for the ping but I figure I ask you as you and I were chatting about this in the workers-discussions channel. But if anyone else knows what I can do to make those logs show up, please let me know

distant wyvern
#

So it should show those logs? Interesting that it's not.

#

Close the connection - you mean you tail, and then hit Control C (or End on the dashboard) and they suddenly show up?

silk mirage
#

yeah, that's what I mean

#

see if I can get a gif going one second

silk mirage
prisma osprey
prisma osprey
#

and if you tail that auxiliary worker, you should see the logs appear quicker