NonStop JMS C++ API Programmer's Guide

Troubleshooting
NonStop Server for Java Message Service C++ API Programmer’s Guide526459-002
8-4
Logger.type
debug—Logs messages useful during a debugging session. Setting
Logger.loglevel to debug can substantially degrade performance and should be
used only when requested by support personnel. A log level of debug displays all
levels of messages: fatal, error, warning, info, and debug.
Logger.type
The Logger.type property uses these case-sensitive keywords to specify where to
direct the output collected in the log file.
FileLogger—Events will be logged to the disk file specified in Logger.filename.
FileLogger is the default.
ConsoleLogger—Events will be logged to the console, typically the client hometerm.
Logger.filename
The Logger.filename property uses these case-sensitive keywords to specify the
name of the log file where messages are posted.
nsjmscapi.log—The default file location that contains the log information
anyFilename—The user specified file location that contains the log information.
Sample Log Output
Setting the logger.loglevel property to debug, the logger.filename to
nsjmscapi.log, and the logger.type to ConsoleLogger will produce output
similar to this sample log output
For additional information on these NSJMS properties, see the NSJMS Properties File
on page 2-9 or the NonStop Server for Java Message Service User’s Manual.
08:05:04.844 DEBUG [2,177] - Session::Session, property file:
/usr/tandem/nsjmsV30/nsjms.properties, log file: ConsoleLogger, trace
level: debug
08:05:04.845 DEBUG [2,177] - Consumer::setDeadMsgDeleteCountProp,
deadMsgDeleteCountProp set to: 500
08:05:09.284 DEBUG [2,177] - Session::Session: setUp() called using:
$data02.SBNSJMS, 3000, returned: 1
08:05:09.285 DEBUG [2,177] - Producer::Producer constructor, dest: q1
Sending message 0
08:05:09.294 DEBUG [2,177] - Producer::send(msg,mode: 1,pri: 1,timeToLive:
0)
08:05:09.295 DEBUG [2,177] - Producer::send, msgLen: 110, msg_id:
211925819109294967
Sending message 1
08:05:09.328 DEBUG [2,177] - Producer::send(msg,mode: 1,pri: 1,timeToLive:
0)
08:05:09.328 DEBUG [2,177] - Producer::send, msgLen: 110, msg_id:
211925819109328267
08:05:09.331 DEBUG [2,177] - Producer::~Producer destructor
08:05:09.332 DEBUG [2,177] - Session::~Session: destructor
Message Send successful