To enable Debug of the MettleCI CLI, perform the following:-The MettleCI Command Line Interface has a debugging mode which is enabled by inserting entries in a configuration file:
In the root directory of your CLI installation , there will be a file called (e.g. /opt/dm/mci/cli
or C:\MettleCI\cli
) you will see the file config.properties
. The following entries demonstrate enabling debug logging for some common loggers that you may be asked to enable by support:
Code Block |
---|
# Setting the log level for a specific logger takes the format:
# logger.[LOG_NAME]=[LOG_LEVEL]
logger.Shell=DEBUG
logger.Command=DEBUG
logger.com.datamigrators.mettle.process.CommandRunner=DEBUG |
If you are asked to enable debug logging for a specific logger by support, you will need to add a line to the config.properties
file, following the format described above. You can find the log file in your CLI install in the location log/stdout.log
, which you can then send to MettleCI support.