Logging errors in IBM MQ classes for JMS

Information about runtime problems that might require corrective action by the user is written to the IBM MQ classes for JMS log.

For example, if an application attempts to set a property of a connection factory, but the name of the property is not recognized, IBM MQ classes for JMS writes information about the problem to its log.

By default, the file containing the log is called mqjms.log and is in the current working directory. However, we can change the name and location of the log file by setting the com.ibm.msg.client.commonservices.log.outputName property in the IBM MQ classes for JMS configuration file. For information about the IBM MQ classes for JMS configuration file, see The IBM MQ classes for JMS configuration file, and for more detail about valid values for the com.ibm.msg.client.commonservices.log.outputName property, see Logging and IBM MQ classes for JMS.