# `once runtime logs`

Read persisted stdout or stderr records for a runtime session.

## Synopsis

```text
once runtime logs [OPTIONS] <SESSION>
```

## Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `<SESSION>` | yes | Session id returned by `once runtime start`. |

## Options

| Flag | Value | Default | Description |
| --- | --- | --- | --- |
| `--source` | `<SOURCE>` |  | Log source to read: `stdout` or `stderr`. |
| `--cursor` | `<CURSOR>` |  | Cursor returned by a previous logs call. |
| `--limit` | `<LIMIT>` |  | Maximum number of log records to return. |
