How To Turn Up Logging on the Siebel Web Server Extension in Siebel Versions 7.x and 8.x? [ID 477185.1] | |||||
| |||||
修改时间 10-FEB-2012 类型 HOWTO 状态 PUBLISHED |
In this Document
Goal
Solution
For Windows Environments
For a UNIX Environment except Linux
For Linux Environment using Oracle HTTP Server 10g
For Linux Environment using Oracle HTTP Server 11g
To Reverse the Default Logging Levels on the Web Server
Related Documentation
References
Applies to:
Siebel CRM - Version: 7.5.3 SIA [16157] to 8.1.1 [21112] - Release: V7 to V8Information in this document applies to any platform.
Area(s):System Administration
Release(s):V7 (Enterprise), V7 (Professional), V7 (MidMarket), V8 (Enterprise), V8 (Professional)
Database(s):All Supported Databases
App Server OS(s):All Supported Platforms
Latest release tested against:V8 (Enterprise)
Keywords:Web server logging, SIEBEL_LOG_EVENTS, SIEBEL_SESSMGR_TRACE, SIEBEL_SISNAPI_TRACE
This document was previously published as Siebel FAQ 2117.
Goal
How To Turn Up Logging on the Siebel Web Server Extension in Siebel Versions 7.x and 8.x?.Solution
For Windows Environments
- Set the following System Environment Variables:
- Start > Settings > Control Panel > System.
- Click on the Advanced tab and then click on the Environment Variables button.
- Under the System variables view, click the New button and add the variable names and values mentioned above. Click the Ok button when finished.
- In the eapps.cfg file located on the web server machine under the directory SIEBEL_HOME\SWEApp\BIN folder, make the following changes under the [swe] section:
- Restart the IIS Admin Service and its dependent services for the changes to take effect. NOTE: The inetinfo.exe process has to be restarted for the new environment variables to take effect.
For a UNIX Environment except Linux
- Set the following environment variables:
- In the eapps.cfg file found on the web server machine under SIEBEL_ROOT/sweapps/bin folder make the following changes:
- Restart the web server process for the changes to take effect.
For Linux Environment using Oracle HTTP Server 10g
For increasing the logging for SWSE when using Oracle HTTP Server 10g (OHS 10g) add the environment variables to a file named envvars under ohs/bin directory.
envvars-std - default environment variables for apachectl
#
This file is generated from envvars-std.in
#
LD_LIBRARY_PATH=
export LD_LIBRARY_PATH
SIEBEL_SESSMGR_TRACE=1
SIEBEL_SISNAPI_TRACE=1
SIEBEL_LOG_EVENTS=5
export SIEBEL_SESSMGR_TRACE
export SIEBEL_SISNAPI_TRACE
export SIEBEL_LOG_EVENTS
For Linux Environment using Oracle HTTP Server 11g
For increasing the logging for SWSE when using Oracle HTTP Server 11g (OHS 11g) add the environment variables to the script <ohs root>/ohs/bin/apachectl
Search for the entry where LD_LIBRARY_PATH is set and add the variables just under this section of the file:
SIEBEL_SESSMGR_TRACE=1
SIEBEL_SISNAPI_TRACE=1
SIEBEL_LOG_EVENTS=5
export SIEBEL_SESSMGR_TRACE
export SIEBEL_SISNAPI_TRACE
export SIEBEL_LOG_EVENTS
When you start the web server from <ohs root>/instances/instance1/bin using :
./opmnctl startall
The Apache web server script, apachectl, is called as part of this and the environment variables are sourced.
To Reverse the Default Logging Levels on the Web Server
- Remove all three environment variable settings.
- In the eapps.cfg file set Log = errors (only for 7.5.3 or earlier).
- Restart the web server processes.
Related Documentation
- Document 477112.1 details information about how to manage the size of the Siebel log files.
- Document 476703.1 details information about how to troubleshoot the error message "The Server You Are Accessing is Either Busy or Experiencing Difficulties......" in a Siebel 7 Web Client User Browser.
- Siebel Bookshelf version 8.1 > Siebel System Monitoring and Diagnostics Guide > Configuring SWSE Logging and Monitoring.
- Siebel Bookshelf version 8.0 > Siebel System Monitoring and Diagnostics Guide > Configuring SWSE Logging and Monitoring.
- Siebel Bookshelf version 7.8 > System Monitoring and Diagnostics Guide for Siebel Business Applications > Configuring SWSE Logging and Monitoring.
- Siebel Bookshelf version 7.7 > System Monitoring and Diagnostics Guide for Siebel eBusiness Applications > Configuring SWSE Logging and Monitoring.
-
Siebel Bookshelf version 8.1 > Siebel System Administration Guide > Structure of the eapps.cfg File.
- Siebel Bookshelf version 8.0 > Siebel System Administration Guide > Structure of the eapps.cfg File.
- Siebel Bookshelf version 7.8 > Siebel System Administration Guide > Structure of the eapps.cfg File.
- Siebel Bookshelf version 7.7 > Siebel System Administration Guide > Structure of the eapps.cfg File.
- Siebel Bookshelf version 7.5.3 > Siebel Server Installation Guide for Microsoft Windows > Structure of the eapps.cfg File > Editing the Web Server Extension Configuration File.
- Siebel Bookshelf version 7.5.3 > Siebel Server Installation Guide for UNIX > Structure of the eapps.cfg File > Editing the Web Server Extension Configuration File.