> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anonalabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# anona-compute logs

> Show sandbox logs

```text theme={null}
Show sandbox logs (GET /v2/sandboxes/{id}/logs), oldest first.

--follow keeps polling for new lines until the sandbox ends or you press
Ctrl-C (exit 0).
```

## Usage

```text theme={null}
anona-compute logs SANDBOX_ID [flags]
```

## Flags

| Flag | Type | Description |
| - | - | - |
| `--follow`, `-f` | | keep printing new lines |
| `--help`, `-h` | | help for logs |
| `--level` | string | minimum level: debug, info, warn or error |
| `--search` | string | only lines containing this text (case-sensitive) |
| `--since` | string | only lines newer than this (e.g. 10m, 1h) |

Global flags (`--api-key`, `--api-url`, `--json`, `--output`, `--profile`, `--request-timeout`, `--verbose`) work on every command; see [anona-compute](https://docs.anonalabs.com/compute/cli/reference/anona-compute.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.