# logs

## Usage

```bash
bdy target exec logs [options] <exec-id>
```

## Arguments

| **Argument** | **Description** |
| :--- | :--- |
| `exec-id` | Execution ID (required) |

## Options

| **Option** | **Description** |
| :--- | :--- |
| `-w, --workspace <domain>` | Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE |
| `--offset <n>` | Log line offset. Default: 0 |
| `--limit <n>` | Maximum number of log lines. Default: all lines |
| `-h, --help` | display help for command |

## Examples

### Show logs of execution

```bash
bdy tg exec logs exec-id
```

### Show logs of execution starting from line 100

```bash
bdy tg exec logs exec-id --offset 100
```


---
Original source: https://buddy.works/docs/cli/target/exec/logs