Retrieving and setting log, error and trace levels at runtime

This topic describes the computed attributes available for retrieving and setting log, error and trace levels at runtime.
There are three computed attributes available to get and set the log, error, and trace levels of a Domain Manager at runtime. These computed attributes described in the table Computed attributes to retrieve and set log, error, and trace levels at runtime are available on the
SM_JIIM_Support
object, and are therefore available from within
JIIM
code. The
SM_System
object is a subclass of
SM_JIIM_Support
and also inherits these computed attributes. The values of these computed attributes can be retrieved and set by using
dmctl
.
Computed attributes to retrieve and set log, error, and trace levels at runtime
Computed Attributes
Description
logLevel
The minimum exception level for sending messages to the system error logger.The
logLevel
attribute is a string, and can be any one of the values set for the
--loglevel
command line option.
errLevel
The minimum exception level for writing messages to the log files. The errLevel attribute is a string, and can be any one of the values set for the
--errlevel
command line option.
traceLevel
Used to print a stack trace to the log file when an exception at this level or above occurs. Exceptions below this level do not write a stack trace. The
traceLevel
attribute is a string, and can be any one of the values set for the
--traceleve
l command line option.