Default diagnostic message services

The appliance has default services configured in the mqs.ini file, and in the qm.ini file that is created when you create a queue manager.

Services in the mqs.ini file

By default, the mqs.ini file contains the following service definitions:
DiagnosticSystemMessages:
  Name          = LogTargets
  MessageDetail = Extended
  Service       = Appliance
  Severities    = all

DiagnosticMessagesTemplate:
  Name          = LogTargets
  MessageDetail = Extended
  Service       = Appliance
  Severities    = all
The definition named LogTargets makes IBM® MQ system messages available to be published to appliance log targets. There can only be one DiagnosticSystemMessages stanza with a service of type Appliance in the mqs.ini file. You can add filtering attributes to this service definition if required (see Configuring diagnostic message services). This service is a
The definition named DiagnosticMessagesTemplate ensures that any new queue managers that are created have a DiagnosticMessages stanza name LogTargets added to their qm.ini file that makes diagnostic messages available to be published to log targets.

You can delete the default services from the mqs.ini file by using the following commands.

To delete the LogTargets service:
setmqini -g -s DiagnosticSystemMessages -n LogTargets -d
To delete the DiagnosticMessagesTemplate service:
setmqini -g -s DiagnosticMessagesTemplate -n LogTargets -d

You can use the setmqini to recreate the two default services if needed.

Services in qm.ini files

By default, a qm.ini file contains the following service definition:
DiagnosticMessages:
  Name          = LogTargets
  MessageDetail = Extended
  Service       = Appliance
  Severities    = all
The definition named LogTargets makes the queue manager messages available to be published to appliance log targets. There can only be one service of type Appliance in each qm.ini file. You can add filtering attributes to this service definition if required (see Configuring diagnostic message services).
You can delete the default service from the qm.ini file by using the following command:
setmqini -m queue_manager -s DiagnosticMessages -n LogTargets -d
If you have queue managers that were created in an earlier version of appliance firmware, you might have to manually add the appliance diagnostic message service to your qm.ini files. The following command creates the service in a qm.ini file:
setmqini -m queue_manager -s DiagnosticMessages -n LogTargets -k Service -v Appliance
setmqini -m queue_manager -s DiagnosticMessages -n LogTargets -k Severities -v All