Oracle iPlanet Web Proxy Server 4.0.14 Configuration File Reference

common-log

Applicable in AddLog-class directives.

The common-log function records request-specific data in the common log format used by most HTTP servers. A log analyzer is locatedin the /extras/log_anly directory for Proxy Server.

The common log must have been initialized previously by the init-clf function. For information about rotating logs, see flex-rotate-init in the Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer’s Guide.

There are also a number of free statistics generators for the common log format.

Parameters

The following table describes parameters for the common-log function.

Table 5–127 common-log Parameters

Parameter  

Description  

name

(Optional) Provides the name of a log file which must have been given as a parameter to the init-clf function in magnus.conf. If no name is given, the entry is recorded in the global log file.

iponly

(Optional) Instructs the server to log the IP address of the remote client rather than looking up and logging the DNS name. This function improves performance if DNS is off in the magnus.conf file. The value of iponly has no significance, and merely must be present, for example, iponly=1.

bucket

(Optional) Common to all obj.conf functions.

Examples


# Log all accesses to the global log file
AddLog fn=common-log
# Log accesses from outside our subnet (198.93.5.*) to 
	nonlocallog <Client ip="*~198.93.5.*">
AddLog fn=common-log name=nonlocallog</Client>

See Also

record-useragent, flex-log