MID Server debug parameters

These parameters enable and control debugging for the MID Server.

Table 1. MID Server debug parameters
Label Names Description
Debug logging enable debug.logging

[Deprecated] Specifies whether to enable logging of MID Server events and messages (both sent and received). Normally this parameter is only used by developers, but it is occasionally useful when troubleshooting a problem. Be aware that setting this parameter to true causes intensive logging on the MID Server , potentially using considerable disk space.

  • Type: true | false
  • Default value: false

This parameter has been replaced by the mid.log.level parameter.

Debug mode enable debug

[Deprecated] Specifies whether to enable debug logging on the MID Server . Normally this parameter is only used by developers, but it is occasionally useful when troubleshooting a problem. Be aware that setting this parameter to true causes intensive logging on the MID Server , potentially using considerable disk space.

  • Type: true | false
  • Default value: false

This parameter has been replaced by the mid.log.level parameter.

Debug file probe templates. file.probe.template.debug Specifies whether to debug file probe templates.
  • Type: True | False
  • Default: false
Enables debug logging for CIM / WBEM / SLP / SMI-S mid.cim.debug Specifies whether to enable debug logging for CIM, WBEM, SLP, or SMI-S.
  • Type: true | false
  • Default value: false
Enable debug logging for ServiceNow SSH Client mid.ssh.debug Enables SSH debug information in the log file. The parameter usage depends on whether the ServiceNow SSH client is enabled.
When the ServiceNow SSH client is enabled, the parameter functions as follows:
  • Type: String
  • Default value: false

    The following string values are valid for the ServiceNow SSH client:

    • true: Enables SSH debug information in the log file.
    • false: Disables SSH debug information in the log file.
    • <IP Addresses>: Specify which IP ranges to enable SSH debug information in the log file. You can enter IP addresses in the following formats:
      • An IP range defined by a slash and the number of bits in the subnetwork. For example, the string 10.10.10.0/24 scans 24 bits of IP addresses from 10.10.10.0 to 10.10.10.254.
      • An IP range defined by a dash. For example, the string 10.10.11.0-10.10.11.165 scans the IP addresses from 10.10.11.0 to 10.10.11.165.
      • A comma-separated list of specific IP addresses. For example the string 10.10.11.200,10.10.11.235 scans the IP addresses 10.10.11.200 and 10.10.11.235.
    • deferred: Logs SSH debug information in memory unless an error or warning occurs. If an error or warning occurs, the platform publishes the debug information to the log file. This ensures that only the part of the log file pertaining to the error or warning is recorded. If no error or warning is detected, the platform deletes the unused log data from memory when the session closes. Each session stores up to 1000 log messages. If the session exceeds 1000 log messages, the deferred log discards the oldest log message to make room for the newest log message.
When the ServiceNow SSH client is disabled, the parameter enables or disables SSH debug information in the log file:
  • Type: true | false
  • Default value: false
MID Server logging level mid.log.level Specifies the logging level for the MID Server. Possible values are:
  • debug
  • info
  • warn
  • error
Note: Values are case insensitive.
  • Type: string
  • Default value: info
Enables debug logging for the Idle Connection Monitor. mid.http.idle_connection_monitor.debug Enables debug logging for the Idle Connection Monitor.
  • Type: True | False
  • Default value: false