Skip to content

Commit 8245881

Browse files
kodster28Oxyjun
andauthored
Add limitation for websocket logging (#24358)
* Add limitation for websocket logging PCX-13396 * Update src/content/docs/workers/observability/logs/real-time-logs.mdx Co-authored-by: Jun Lee <[email protected]> --------- Co-authored-by: Jun Lee <[email protected]>
1 parent c5128a1 commit 8245881

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/content/docs/workers/observability/logs/real-time-logs.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,11 @@ You can filter real-time logs in the dashboard or using [`wrangler tail`](/worke
8383

8484
:::
8585

86-
Note that:
87-
8886
- Real-time logs does not store Workers Logs. To store logs, use [Workers Logs](/workers/observability/logs/workers-logs).
8987
- If your Worker has a high volume of traffic, the real-time logs might enter sampling mode. This will cause some of your messages to be dropped and a warning to appear in your logs.
9088
- Logs from any [Durable Objects](/durable-objects/) your Worker is using will show up in the dashboard.
9189
- A maximum of 10 clients can view a Worker's logs at one time. This can be a combination of either dashboard sessions or `wrangler tail` calls.
90+
- When using `wrangler tail` with [WebSocket event handlers](/workers/runtime-apis/websockets/), any `console.log` statements within those handlers are hidden until the WebSocket client closes the connection. Once the `close` is received, all messages are flushed, printing everything to the terminal at once.
9291

9392
## Persist logs
9493

0 commit comments

Comments
 (0)