# diagrid app logs

Stream logs for an App

### Description

Stream logs for an App in a project.

```
diagrid app logs <app> [flags]
```

### Examples

```

  # Retrieve the most recent logs
  diagrid app logs my-app --project my-project

  # Get the last 5 log entries
  diagrid app logs my-app --project my-project -t 5

  # Follow the logs
  diagrid app logs my-app --project my-project --follow

```

### Options

```
  -p, --project string   Name of existing project
  -f, --follow           Follow the logs
  -t, --tail int         Number of log entries to display from the most recent entry (default 10)
  -h, --help             help for logs
```

### Options inherited from parent commands

```
      --api-key string   Diagrid Cloud API key
```

### SEE ALSO

- [diagrid app](./app.md)	 - Manage Apps
