# Viewing Workflow Error Via the Command Line Interface

The command to get the logs for a particular task is as follows:


```bash
$ td wf logs <attempt_id> <task_name>`
```

Specifically, put the following:


```bash
$ td wf logs 2987654
```

Review the output to identify the error or errors causing the failure.