Mapping Web server requests to EAServer listeners  Copy libraries from EAServer to your Web server

Chapter 4: Installing and Configuring a Web Server Redirector Plug-In

Logging

Edit the redirector configuration file to add the Connector.LogLevel directive, which determines the amount of redirector logging that is sent to the Web server log file. Edit the redirector configuration file to add the Connector.LogLevel directive, which sets the redirector logging level that is sent to the Web server log file. The syntax is:

Connector.LogLevel [ inform | error | verbose ]

Where “inform,” “error,” and “verbose” are the logging levels described in Table 4-2.

Table 4-2: Logging level options

Logging level

Description

inform

Adding Connector.LogLevel inform to the redirector configuration file provides minimum logging to the Web server log file and is appropriate for production servers. This is the default logging level.

error

Adding Connector.LogLevel error to the redirector configuration file is appropriate when you want to log error messages to the Web server log file. Error messages provide additional information, such as the Web server disconnecting from EAServer or not connecting to an EAServer.

verbose

Adding Connector.LogLevel verbose to the redirector configuration file provides the highest level of logging to the Web server log file and can be used only with the EAServer debug libraries to provide additional trace information that may be useful for diagnosing problems.

For example, to set the redirector logging level to “inform”, add this line to the redirector configuration file:

Connector.LogLevel inform 

You must also set the logging level for the Apache Web server in the httpd.conf file to either “info” or “error” for the redirector to produce any logging. The syntax is:

LogLevel [ debug | info | notice | warn | error | crit ] 

For example, add this line to the httpd.conf file:

LogLevel info




Copyright © 2004. Sybase Inc. All rights reserved. Copy libraries from EAServer to your Web server

View this book as PDF