Logging errors in WebSphere MQ classes for JMS

Information about runtime problems that might require corrective action by the user is written to the WebSphere® 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, WebSphere 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, you can change the name and location of the log file by setting the com.ibm.msg.client.commonservices.log.outputName property in the WebSphere MQ classes for JMS configuration file. For information about the WebSphere MQ classes for JMS configuration file, see The IBM WebSphere 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 WebSphere MQ classes for JMS.