Table 17–11 lists the broker properties related to monitoring services.
Table 17–11 Broker Monitoring Properties
Property |
Type |
Default Value |
Description |
|
---|---|---|---|---|
String |
INFO |
Logging level Specifies the categories of logging information that can be written to an output channel. Possible values, from high to low: ERROR WARNING INFO Each level includes those above it (for example, WARNING includes ERROR). |
||
Boolean |
false |
Log information about dead messages? If true, the following events will be logged:
|
||
String |
ERR |
Destination for console output: OUT: stdout ERR: stderr |
||
String |
ERROR|WARNING |
Categories of logging information to write to console: NONE ERROR WARNING INFO ALL The ERROR, WARNING, and INFO categories do not include those above them, so each must be specified explicitly if desired. Any combination of categories can be specified, separated by vertical bars (|). |
||
String |
See Appendix A, Distribution-Specific Locations of Message Queue Data |
Path to directory containing log file |
||
String |
log.txt |
Name of log file |
||
String |
ALL |
Categories of logging information to write to log file: NONE ERROR WARNING INFO ALL The ERROR, WARNING, and INFO categories do not include those above them, so each must be specified explicitly if desired. Any combination of categories can be specified, separated by vertical bars (|). |
||
Integer |
-1 |
File length, in bytes, at which output rolls over to a new log file A value of -1 denotes an unlimited number of bytes (no rollover based on file length). |
||
Integer |
604800 (one week) |
Age of file, in seconds, at which output rolls over to a new log file A value of -1 denotes an unlimited number of seconds (no rollover based on file age). |
||
String |
ERROR |
Categories of logging information to write to syslogd(1M): NONE ERROR WARNING INFO ALL The ERROR, WARNING, and INFO categories do not include those above them, so each must be specified explicitly if desired. Any combination of categories can be specified, separated by vertical bars (|). |
||
String |
LOG_DAEMON |
syslog facility for logging messages Possible values mirror those listed on the syslog(3C) man page. Appropriate values for use with Message Queue include: LOG_USER LOG_DAEMON LOG_LOCAL0 LOG_LOCAL1 LOG_LOCAL2 LOG_LOCAL3 LOG_LOCAL4 LOG_LOCAL5 LOG_LOCAL6 LOG_LOCAL7 |
||
String |
imqbrokerd_${imq.instanceName} |
Identity string to be prefixed to all messages logged to syslog |
||
Boolean |
true |
Log broker process ID with message? |
||
Boolean |
false |
Write messages to system console if they cannot be sent to syslog? |
||
String |
Local time zone |
Time zone for log time stamps Possible values are the same as those used by the method java.util.TimeZone.getTimeZone. Examples: GMT GMT-8:00 America/LosAngeles Europe/Rome Asia/Tokyo |
||
Boolean |
true |
Enable writing of metrics information to Logger? Does not affect the production of metrics messages (controlled by imq.metrics.topic.enabled). |
||
Integer |
-1 |
Time interval, in seconds, at which to write metrics information to Logger Does not affect the time interval for production of metrics messages (controlled by imq.metrics.topic.interval). A value of -1 denotes an indefinite interval (never write metrics information to Logger). |
||
Boolean |
true |
Enable production of metrics messages to metric topic destinations? If false, an attempt to subscribe to a metric topic destination will throw a client-side exception. |
||
Integer |
60 |
Time interval, in seconds, at which to produce metrics messages to metric topic destinations |
||
Boolean |
false |
Are metrics messages sent to metric topic destinations persistent? |
||
Integer |
300 |
Lifetime, in seconds, of metrics messages sent to metric topic destinations |
||
String |
System property user.name (user who started the broker) |
Name of primary system owner |
||
String |
System property user.name (user who started the broker) |
Contact information for primary system owner |
||
Integer |
None |
Number of defined roles |
||
String |
Broker instance name |
Name of defined role N (where N ranges from 0 to .count-1) Example:
|