Skip to content
Open
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
21 changes: 21 additions & 0 deletions content/manuals/ai/sandboxes/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,27 @@ $ sbx start <SANDBOX_NAME>

Files saved in the sandbox are kept when you stop and start it.

## View daemon logs

To investigate local daemon errors, show the last 100 lines of the daemon log:

```console
$ sbx daemon logs
```

Use `--tail` to change the number of recent lines shown:

```console
$ sbx daemon logs --tail 200
```

To keep printing log lines while you reproduce an issue, use `--follow`.
Press Ctrl+C to stop following:
Comment on lines +93 to +94

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Suggest have the colon after the first sentence and move the stop instruction to after the start command.


```console
$ sbx daemon logs --follow
```

## Restart the sandbox daemon

If sandbox commands hang, fail to connect to the daemon, or keep returning
Expand Down