Subcommand: logs

The logs subcommand is used to retrieve application logs from the various Docker containers started by the Z APM Connect Distributed Gateway.

Syntax

Read syntax diagramSkip visual syntax diagram sudo ./zapmctl logs --help-h--log-dir-dlog-dir-n--num-linesnum-lines
Flags (optional) Arguments Description
-h | --help N/A Prints the usage message and a description of any available options.
-d | --log-dir log-dir Specifies the directory where log files should be saved. If unspecified, the default directory and file name INSTALL_DIR/logs is used.
-n | --num-lines num-lines Specifies the number of container log lines to save. Defaults to 10000.

Successful log retrieval

When successful, the following message is displayed:
Complete. Application logs can be found in log-directory.
.