System Monitoring and Diagnostics Guide for Siebel Business Applications > Configuring Additional System Logging >
About Environment Variables for System Logging
The following system environment variables can be set to assist with logging other aspects of the Siebel application deployment. For information on configuring these environment variables on both Microsoft Windows and UNIX, see the Siebel System Administration Guide or review the documentation specific to your operating system for details on changing these variables.
- SIEBEL_LOG_EVENTS. The SIEBEL_LOG_EVENTS environment variable sets the event logging level, which determines the extent of information captured in the log file. See Table 6 for level settings and descriptions of information captured. More information is captured when the environment variable is set to a higher numeric value, and less information is captured when the variable is set to a lower numeric value. The numeric value is inversely proportional to the severity of the information—0 is more severe than 5 for instance. More disk space is consumed and performance is hindered when the value is set to a value of 5 than a value of 0.
- SIEBEL_LOG_ARCHIVES. The SIEBEL_LOG_ARCHIVES environment variable determines the number of log files archived. Set this value to a positive integer; this value indicates the number of files that will be saved. For example, if the value is 3 then only the 3 most recent log files are retained, any additional log files are deleted. When a new log is created,
program.log, the previous versions are archived as
program_2.log, and so on. The numbers in the file name increase as the file gets older. The oldest log file that numbers past the integer setting is deleted. The default value of this variable is ten.
- SIEBEL_LOG_DIR. The SIEBEL_LOG_DIR environment variable determines the log file location. Set this variable to change the location from the default directory. Make sure this directory already exists, access permission to write a file in that location is available, and sufficient space is free to support the log file.
- SIEBEL_CRASH_HANDLER. The SIEBEL_CRASH_HANDLER environment variable enables the creation of crash files. See About Other Siebel Server Log Files for information on crash files. The default setting is 1, which enables the creation of crash files. Setting this variable to 0 disables this function. Only set this variable in consultation with Siebel Technical Support.
- SIEBEL_ASSERT_MODE. The SIEBEL_ASSERT_MODE environment variable enables the creation of assert files. See About Other Siebel Server Log Files for information on assert files. The default setting is 0, which disables the creation of assert files. Only set this variable in consultation with Siebel Technical Support.
- SIEBEL_SESSMGR_TRACE. The SIEBEL_SESSMGR_TRACE environment variable enables tracing for session manager, which is part of the Siebel Web Server Extension (SWSE). By default, this variable is set to 0, which logs fatal and error events to the SWSE log file. For information on SWSE log files, see About SWSE Logging. To enable detailed logging of session manager, set this variable to 1. For further information on configuring logging for SWSE, see Configuring SWSE Logging.
- SIEBEL_SISNAPI_TRACE. The SIEBEL_SISNAPI_TRACE environment variable enables tracing for SISNAPI, which is a Siebel-proprietary communication protocol between the Web server and the Siebel Servers. By default, this variable is set to 0, which logs fatal and error events to the SWSE log file. For information on SWSE log files, see About SWSE Logging. To enable detailed logging of SISNAPI, set this variable to 1. For further information on configuring logging for SWSE, see Configuring SWSE Logging.
- SIEBEL_STDERROUT. The SIEBEL_STDERROUT environment variable enables logging of the standard error files. For further information on standard error files, see Configuring Standard Error Files. By default, this variable is set to 0, which disables standard error file logging. To enable logging of standard error files, set this variable to 1.