Setting the Level of Detail to Log
You can log up to four levels of increasing detail in the server log.
|
Log Level |
Value |
Amount of Detail |
|
Error |
1 |
Least Amount |
|
Warning |
2 |
(Default) |
|
Informational |
3 |
|
|
Debug |
4 |
Most Amount |
The log levels are hierarchical, from the least amount of information to the most, and each level includes the information from the levels it. The default log level is Warning.
The log level can be changed in the following ways:
| • | Object Model - Only the on-disk log level can be set via the object model. The following methods can be used to specify the on-disk log level: |
| — | TIBCO iProcess Objects - SetLogLevel method |
| — | TIBCO iProcess Server Objects - SetSrvLogOptions method (using the aLevel parameter) |
The available log levels are defined in the enumeration type SWLogLevelType. They are:
|
SWLogLevelType |
Value |
|
swLogError |
1 |
|
swLogWarning |
2 |
|
swLogInformational |
3 |
|
swLogDebug |
4 |
You must have system administrator authority (MENUNAME = ADMIN) to call these methods.
| • | TIBCO iProcess Objects Server Configuration Utility: |
| — | For on-disk logging, click the appropriate Level of Detail radio button on the Disk Log tab. |
For information about the available log levels, see LOG_LEVEL.
| — | For in-memory logging, click the appropriate Level of Detail radio button on the Memory Log tab. |
For information about the available log levels, see MEMLOG_LEVEL.
| • | TIBCO iProcess® Objects Server Configuration File: |
| — | For on-disk logging, locate the LOG_LEVELentry in the swentobjsv.cfg file and set it to the appropriate numeric value for the desired level of detail. For information about the LOG_LEVEL parameter, see LOG_LEVEL. |
| — | For in-memory logging, locate the MEMLOG_LEVEL entry in the swentobjsv.cfg file and set it to the appropriate numeric value for the desired level of detail. This parameter can also be set to 0 (zero) to disable in-memory logging (the default). For information about the MEMLOG_LEVEL parameter, see MEMLOG_LEVEL. |