Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can set MettleCI Workbench to log more verbose diagnostic information by adding in two ways:

Semi-permanent Method

You can add a line to your MettleCI config.yml file. This file is typically located at /dm/mci/cofig.yml

Status
colourBlue
titleUNIX
or C:\dm\mci\cofig.yml
Status
colourYellow
titleWindows
.

...

Code Block
languageyaml
loggers:
  com.datamigrators.mettle.process.CommandRunner: DEBUG

You will need to restart your Workbench service for extended logging to begin. To disable extended logging simply remove the lines above from your config.yml file and restart your Workbench service again.

Temporary Method

You can send a REST call to the Workbench to increase the logging level for the current session without changing your configuration:

Code Block
curl -X POST -d "logger=com.datamigrators.mettle.process.CommandRunner&level=DEBUG" http://your-engine.your-domain.com:8081/tasks/log-level

This increases the Workbench logging level until the Workbench service is next restarted, at which point the log reverts the settings defined in config.yaml.