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

# astro dev logs

<Info>The behavior and format of this command are the same for both Astro and Astro Private Cloud.</Info>

Show webserver, scheduler, and triggerer logs from your local Airflow environment.

## Usage

```sh wrap theme={null}
astro dev logs
```

## Options

| Option             | Description                                                 | Possible Values |
| ------------------ | ----------------------------------------------------------- | --------------- |
| `-f`,`--follow`    | Continue streaming most recent log output to your terminal. | None            |
| `-s`,`--scheduler` | Show only scheduler logs.                                   | None            |
| `-t`,`--triggerer` | Show only triggerer logs.                                   | None            |
| `-w`,`--webserver` | Show only webserver logs.                                   | None            |

## Examples

```sh wrap theme={null}
$ astro dev logs
# Show the most recent logs from both the Airflow webserver and Scheduler

$ astro dev logs --follow
# Stream all new webserver and scheduler logs to the terminal

$ astro dev logs --follow --scheduler
# Stream only new scheduler logs to the terminal
```

## Related commands

* [`astro dev ps`](/docs/cli/v1.38/astro-dev-ps)
* [`astro dev run`](/docs/cli/v1.38/astro-dev-run)
