Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


2.3.70 HWSSuppressModuleTrace

HWSSuppressModuleTrace suppresses the output of module traces.

Description

HWSSuppressModuleTrace specifies the module file name and function type used to suppress the output of module traces.

all

Suppresses all module traces to be output by the specified module.

hook

Suppresses module traces for functions other than the handler function to be output by the specified module.

handler

Suppresses module traces for the handler function to be output by the specified module.

Specify the name of the module file to be output to the error log or request log. To suppress the module trace in the example below, specify "mod_example.c" as the module file name.

Example:
[Mon Dec 18 14:57:14 2006] [info] hws : module --> (mod_example.c[12])(1896)
[Mon Dec 18 14:57:14 2006] [info] hws : module <-- (mod_example.c[12])(1896)(-1)

The following shows the external modules provided by the web server by default, along with the corresponding module file names:

Table 2‒3: External modules provided by the web server by default and the corresponding module file names

Module name

Module file name

mod_expires.so

mod_expires.c

mod_headers.so

mod_headers.c

mod_hws_qos.so

mod_hws_qos.c

mod_lbmethod_byrequests.so

No module trace is output.

mod_proxy.so

mod_proxy.c

mod_proxy_balancer.so

mod_proxy_balancer.c

mod_proxy_http.so

No module trace is output.

mod_reqtimeout.so

mod_reqtimeout.c

mod_slotmem_shm.so

No module trace is output.

If modules other than the external modules provided by the web server by default are used, the traces of those modules might be output. The traces of internal modules are also output in the following situations:

You can specify this directive more than once. If you specify the same module file name, the one that is specified last takes effect.

Important note

Module traces of CGI program execution cannot be suppressed.

Syntax

HWSSuppressModuleTrace module_file_name [all|hook|handler]

Location where it can be written

httpsd.conf

Examples

Example 1:
HWSSuppressModuleTrace mod_proxy.c

This example suppresses module traces for all functions in the proxy module.

Example 2:
HWSSuppressModuleTrace mod_proxy.c hook

This example suppresses module traces for functions other than the handler function in the proxy module.