gather_logs.py

The gather_logs.py script collects system logs from the ${MTX_LOG_DIR} directory, core files, and custom configuration files that are used at runtime and adds them to a ZIP file so they can be offloaded to a non-engine sever. The gather_logs.py script also analyzes the data in the core file and writes the results to a file with the same name but with a .log extension.

Name

gather_logs.py

Syntax

gather_logs.py -h -d -l label -o dir

Options

-h
Displays help information at the command line.
-d
Runs the script in debug mode.
-l label
Adds the specified label to the ZIP filename. This option is used only when the -o option is not specified. The name of the ZIP file consists of the label plus the server's fully qualified ID (domain ID, engine ID, and server ID).
- o dir
Creates a directory in the user's home directory and copies the log files there. The directory name includes the server's fully qualified ID. If this option is not specified, the logs are added to a ZIP file that is copied to your home directory.