Outdated Version

You are viewing an older version of this section. View current production version.

JOB-LOGS

MemSQL Ops has been deprecated

Please follow this guide to learn how to migrate to SingleStore tools.

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.