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

# outerbounds app logs

Shows the logs of one of the deployment's workers. Provide exactly one of `--name` or `--id`. When the deployment has a single worker, it is selected automatically; with several workers, the command prompts you to pick one. Pass `--worker-id` to target a specific worker, `--previous` to see logs from the previous container instance after a crash, or `--file` to save the logs to a file.

## Usage

```bash theme={null}
outerbounds app logs [OPTIONS]
```

## Options

Option

Default

Description

`--name`

Get logs for app by name.

`--id`

Get logs for app by ID.

`--project`

Specify the project the app belongs to.

`--branch`

Specify the branch of the project the app belongs to.

`--worker-id`

Get logs for specific worker.

`--file`

Save logs to file.

`--previous`

`false`

Get logs from previous container instance.

## Examples

**View logs**

```bash theme={null}
outerbounds app logs --name prediction-service
```

**Logs from before a crash**

```bash theme={null}
outerbounds app logs --name prediction-service --previous
```
