The MettleCI Command Line Interface has a debugging mode which is enabled by inserting entries in a the config.properties
configuration file :In in the root directory of your CLI installation (e.g., /opt/dm/mci/cli
Status | ||||
---|---|---|---|---|
|
C:\MettleCI\cli
Status | ||||
---|---|---|---|---|
|
config.properties
. Update Enable debugging by updating the file to contain include the following entrieslines:
Code Block |
---|
# Setting the log level for a specific logger takes the format: # logger.[LOG_NAME]=[LOG_LEVEL] logger.Shell=DEBUG logger.Command.com.datamigrators.mettle.process.CommandRunner=DEBUG logger.com.datamigrators.mettle.dsadmin.processcommands.CommandRunnerDSParamsMergeCommand=DEBUG |
These entries will cause any mettleci
command to create a file log/stdout.log
file in the current directory from which the CLI command was invoked. This will typically be under your CLI install installation directory (in the sub-directory file log/stdout.log
. In the event of a support request you case of manually executed mettleci
commands) or in a different directory when invoked by pipeline agents running CLI commands under the direction of a build pipeline. You may be asked to download provide this file and forwarded it to MettleCI support for analysis. when raising a MettleCI support request.
Available Debug Loggers
Logger | Enhanced Logging Provided |
---|---|
| Logs the external calls made to DataStage APIs |
| Logs details of differences (sections and entries) calculated by the DSParams Merge Command |
| Logs sections and entries merged by the DSParams Diff Command |