Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ logs = client.invocations.follow(invocation_id)

</CodeGroup>

<Info>Log lines will be truncated to 64KiB. For large payloads write data to external storage and log a reference instead.</Info>

## Via CLI

You can also stream the logs to your terminal via the CLI:
Expand Down
2 changes: 2 additions & 0 deletions reference/cli/apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ Print the logs for the specified app.
| `--follow`, `-f` | Follow logs in real-time (stream continuously). Optional. |
| `--since <time>`, `-s` | How far back to retrieve logs (e.g., 5m, 1h). Defaults to 5m if not following, 5s if following. Optional. |
| `--with-timestamps` | Include timestamps in each log line. Optional. |

<Info>Log lines will be truncated to 64KiB. For large payloads write data to external storage and log a reference instead.</Info>
2 changes: 2 additions & 0 deletions reference/cli/browsers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Stream browser logs.
| `--by-persistent-id <id>` | Target browser by persistent ID. Optional. |
| `--by-id <id>` | Target browser by session ID. Optional. |

<Info>Log lines will be truncated to 64KiB. For large payloads write data to external storage and log a reference instead.</Info>

## Replays

### `kernel browsers replays list`
Expand Down