Siebel Administration >  How to raise Log Levels in Sun One Web Server /Siebel Web Server

Configuring SWSE Logging

Use the following procedure to configure SWSE logging.
The former method of configuring SWSE logging by setting a parameter in the eapps.cfg file is no longer valid.

To configure SWSE logging

On the computer running the Web server, set the following environment variable to the given value:
SIEBEL_LOG_EVENTS is 4 (or higher)

For further information on setting environment variables, see Siebel System Administration Guide.
Optionally, set the following environment variables to add detailed information on
session manager and SISNAPI tracing in the SWSE log file:
SIEBEL_SESSMGR_TRACE is 1
SIEBEL_SISNAPI_TRACE is 1
To change web server environment variables , add/change them in the start script.
e.g. If the webserver folder is in
/install_folder/javaweb/sjs/sjs_http_6.1/https
type in the bash prompt
cd bin
./stop
vi start

after this add these lines
SIEBEL_LOG_EVENTS=5
SIEBEL_SESSMGR_TRACE=1
SIEBEL_SISNAPI_TRACE=1

export SIEBEL_LOG_EVENTS
export SIEBEL_SESSMGR_TRACE
export SIEBEL_SISNAPI_TRACE

save and exit start file.
after that start the webserver
./start
Check the status of the webserver using these commands
netstat -an | grep 80
netstat -an | grep 443
The log files will be in the logs folder, in this case
/install_folder/javaweb/sjs/sjs_http_6.1/https/logs

Once the logs have been collected, stop the web server , delete the lines and restart the web server again.
If you are not sure where the webserver root is, you should look for the file magnus.conf and look for
the parameter NetsiteRoot
There should be a line in magnus.conf file like this.

# The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
# They will not be supported in future releases of the Web Server.
NetsiteRoot /install_folder/javaweb/sjs/sjs_http_6.1