# diagrid project logs

List project logs

### Description

Retrieve a paginated page of project-wide logs.

Unlike `diagrid appid logs`, which streams logs for specific ids,
this command returns a single page of logs across the project and supports
filtering by id(s) and log type.

```
diagrid project logs <project-name> [flags]
```

### Examples

```

  # Get the most recent logs for the current project
  diagrid project logs

  # Get logs for a specific project, limited to 50 entries
  diagrid project logs my-project --limit 50

  # Filter by ids (comma separated) and log type
  diagrid project logs --ids my-id,another-id --type app

  # Fetch the next page using the token from a previous response
  diagrid project logs --page <next-page-token>

```

### Options

```
      --limit int32     Maximum number of log entries to return
      --page string     Pagination token returned by a previous response
      --ids string      Comma-separated list of ids to filter logs by
      --type string     Filter logs by type (e.g. app, dapr)
  -o, --output string   Output format, supported [table, yaml, json] (default "json")
  -h, --help            help for logs
```

### Options inherited from parent commands

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

### SEE ALSO

- [diagrid project](./project.md)	 - Manage projects
