# Deployment Logs

Deployment logs are available in both the web UI and CLI. Logs are streamed in realtime during provisioning, runtime, and teardown, and are available as static values after the deployment is stopped. &#x20;

{% tabs %}
{% tab title="Web UI" %}
To view the Deployment logs, navigate to the Logs tab of the Deployment.

![Logs are available for deployments](https://1320806315-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHZRFUkajubOAmgu6Rd%2F-MROCMJIcyoyXw4eBnwX%2F-MROHXgBxo1dWiFYowci%2FScreen%20Shot%202021-01-18%20at%2010.16.54%20PM.png?alt=media\&token=f41f9be9-5e0f-4ed6-8f1b-c304e7186943)
{% endtab %}

{% tab title="CLI" %}
#### Syntax

```bash
gradient deployments logs --id <deployment> [OPTIONS]
```

#### Parameters

```
Usage: gradient deployments logs [OPTIONS]

  List deployment logs

Options:
  --id TEXT                 [required]
  --line INTEGER
  --limit INTEGER
  --follow TEXT
  --apiKey TEXT             API key to use this time only
  --optionsFile PATH        Path to YAML file with predefined options
  --createOptionsFile PATH  Generate template options file
  --help                    Show this message and exit.
```
{% endtab %}
{% endtabs %}
