You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have one DurableObject that uses the hibernation API. It implements webSocketMessage() in which we use console.log() to log stuff.
On miniflare (wrangler dev) that works perfectly fine, the logs appear in the terminal, as they should.
When deployed to Cloudflare though, nothing is logged from within the webSocketMessage() handler. The handler method with the log statement is executed and works fine.
This happens both with wrangler tail, as well as our log push job to an R2 bucket. All other log calls work fine.
I added a workaround where for that DO we additionally send every log message to another DO and log it there. That works.
The text was updated successfully, but these errors were encountered:
We have one DurableObject that uses the hibernation API. It implements
webSocketMessage()
in which we useconsole.log()
to log stuff.On miniflare (
wrangler dev
) that works perfectly fine, the logs appear in the terminal, as they should.When deployed to Cloudflare though, nothing is logged from within the
webSocketMessage()
handler. The handler method with the log statement is executed and works fine.This happens both with
wrangler tail
, as well as our log push job to an R2 bucket. All other log calls work fine.I added a workaround where for that DO we additionally send every log message to another DO and log it there. That works.
The text was updated successfully, but these errors were encountered: