Logging
MSGMX provides a logging option to capture all commands and their associated output.
In addition to using the msgmx command, logging can also be enabled at startup by specifying the log file location path.
msgmx --log
logfilename
The log file follows a specific format:
- Timestamp for each executed command (starts with '^ ' and ends with a newline).
- User-executed-command for each executed command (starts with '>' and ends with a newline).
- All other MSGMX command and output (all command output is also displayed in the MSGMX command window).
Note: Interactive window output (status bar, dropdown menus, predictions, etc.) is not logged.
Example
^ 09/12/2019 15:18:30 >list topics topic1 topic2 topic3 topicname ^ 09/12/2019 15:20:10 >create topic topic6 partitions 1 replication-factor 1 Created topic topic6.