|Skip Navigation Links|
|Exit Print View|
|Oracle GlassFish Server Message Queue 4.5 Developer's Guide for C Clients|
MQ_LOG_FILE specifies the file to which log messages are directed. If you do not specify a file name for this variable, stderr is used. If MQ_LOG_FILE is a directory name, it should include a trailing directory separator.
By default, .n (where n is 0, 1, 2,...) is appended to the actual log file name. This is used as a rotation index, and the indices are used sequentially when the maximum log file size is reached. You can use %g to specify a rotation index replacement in MQ_LOG_FILE after the last directory separator. Only the last %g is used if multiple %g’s are specified. the %g replacement can be escaped with %. The maximum rotation index is 9, and the maximum log file size is 1 MB. These limits are not configurable.
OFF, which suppresses the generation of log messages
SEVERE level, which indicates a severe failure
WARNING level, which indicates a potential problem
INFO level, for informational messages
CONFIG level, for static configuration messages
FINE level, which provides tracing information
FINER level, which provides detailed tracing information
FINEST level, which provides highly detailed tracing information
For any value of MQ_LOG_LEVEL, log messages of that value or lower are generated. For example, setting MQ_LOG_LEVEL to 2 causes INFO, WARNING and SEVERE log messages to be generated.
The default level is 3, CONFIG.