Skip to main content

Enabling Debug Mode on Hosts

You can enable debug mode on hosts to get more detailed job logs from jobs pertaining to those hosts. To enable or disable debug mode on a host, set the host setting Debug mode to yes or no respectively.

The Debug mode host setting can be set globally on the Settings→General page, under the Host category. Furthermore, this setting can be set for individual host groups or hosts. For additional information about setting global, host-group, or host-specific settings, see Configuring Host and Host-Credential Settings.

Like other host settings, debug mode can also be set via the command-line client using the commands set-global-setting, set-host-group-setting, and set-host-setting (described in sections set-global-setting, set-host-group-setting, and set-host-setting respectively):

$ ssh-mgr-client set-global-setting \
-d category=host,name=debug_mode,value=True
$ ssh-mgr-client set-host-group-setting -I 'hostgroup="Example Group"' \
-d category=host,name=debug_mode,value=True
$ ssh-mgr-client set-host-setting -I 'hostname=server.example.com' \
-d category=host,debug_mode,value=True

For more information about debug mode, including detailed instructions for enabling and disabling debug mode, see Enabling More-Detailed Job Logs.