Viewing and setting runtime properties for Activity Logs
Display and modify the runtime properties that govern the behavior of Activity Logs within the scope of a single integration server.
About this task
Use the mqsireportproperties command to display the current configuration parameters for activity logging within the scope of a single integration server. Use the mqsichangeproperties command to modify these configuration parameters, in order, for example, to change the number of Activity Log entries held in memory, or to limit log entries to error messages.
- activityLogEnabled
This property takes a Boolean value that indicates whether Activity Log entries are kept in memory. The default value for this property is true.
- defaultLogSizePerThread
This property takes an integer value that determines the maximum number of Activity Log entries written to memory before the log is recycled. The default value is 1000. The property can have any positive integer value.
If the thread on which the log is processed terminates (for example, because you redeploy or restart the integration server), the log entries that are held in memory are lost. When diagnosing a problem, save the current activity log before redeploying or restarting your integration server.
- minSeverityLevel
This property takes an integer value that is used to specify the severity of messages written to the Activity Log.
Only messages with a severity level higher than or equal to the specified value for this property are logged. The initial value of the property is INFO, which means that messages of all severities are written to the log.
Valid values are INFO, WARN, and ERROR, where ERROR is the highest severity level and INFO the lowest.
Specify a value of WARN to log messages of severity levels WARN and ERROR.