Logging stanza
Use the Logging stanza to configure the IBM MQ classes for JMS log facility.
The following properties can be included in the Logging stanza:
- com.ibm.msg.client.commonservices.log.outputName = path
- The name of the log file that is used by the IBM MQ classes for JMS log facility. The default value is mqjms.log, which is written to the current working directory for the Java Runtime Environment that the IBM MQ classes for JMS are running in.
The property can take one of the following values:
- a single path name
- a comma-separated list of path names (all data is logged to all files)
Each path name can be an absolute or relative path name or:
- "stderr" or "System.err"
- Represents the standard error stream.
- "stdout" or "System.out"
- Represents the standard output stream.
- com.ibm.msg.client.commonservices.log.maxBytes
- The maximum number of bytes that are logged from any call to log message data.
- Positive integer
- Data is written up to that value of bytes per log call.
- 0
- No data is written.
- -1
- Unlimited data is written (default).
- com.ibm.msg.client.commonservices.log.limit
- The maximum number of bytes that are written to any 1 log file (default is 262144).
- Positive integer
- Data is written up to that value of bytes per log file.
- 0
- No data is written.
- -1
- Unlimited data is written.
- com.ibm.msg.client.commonservices.log.count
- The number of log files to cycle through. As each file reaches com.ibm.msg.client.commonservices.trace.limit trace will begin in the next file, the default is 3.
- Positive integer
- Number of files to cycle through.
- 0
- A single file.
Parent topic: The IBM MQ classes for JMS configuration file