# JOB-LOGS

View logs for jobs the MemSQL Ops agent has run.

This is useful for troubleshooting MemSQL Ops.

## Usage

```
usage: memsql-ops job-logs [--settings-file SETTINGS_FILE] [-n NUM_LINES] [-f]
                           job_id

View job logs.

positional arguments:
  job_id                The ID of the job.

optional arguments:
  --settings-file SETTINGS_FILE
                        A path to a MemSQL Ops settings.conf file. If not set,
                        we will use the file in the same directory as the
                        MemSQL Ops binary.
  -n NUM_LINES, --num-lines NUM_LINES
                        Specifies the number of lines to show from the job's
                        logs.
  -f, --follow          Follow the job's logs.

```

***

Modified at: April 25, 2023

Source: [/db/v7.3/reference/memsql-ops-cli-reference/memsql-ops-job-management/job-logs/](https://docs.singlestore.com/db/v7.3/reference/memsql-ops-cli-reference/memsql-ops-job-management/job-logs/)

(An index of the documentation is available at /llms.txt)
