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 Computed attributes to
retrieve and set log, error, and trace levels at runtime, are available on the SM_System object.Computed Attributes | Description |
|---|---|
logLevel | The minimum exception level for sending messages to the system error logger.The logLevel attributeis 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 attributeis 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 attributeis a string, and can be any one of the values set
for the -- tracelevel command line option. |
The values of these computed attributes can be retrieved and set, and valid values are:
- None
- Emergency
- Alert
- Critical
- Error
- Warning
- Notice
- Informational,
- DebugFatal is a synonym for Critical.