Oracle iPlanet Web Proxy Server 4.0.14 Configuration File Reference

flex-log

Applicable in AddLog-class directives.

The flex-log function records request-specific data in a flexible log format. This function may also record requests in the common log format. A log analyzer is located in the /extras/flexanlg directory for Proxy Server.

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

The log format is specified by the flex-init function call. For information about rotating logs, see flex-rotate-init in the Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer’s Guide.

Parameters

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

Table 5–128 flex-log Parameters

Parameter  

Description  

name

(Optional) Provides the name of a log file, which must have been given as a parameter to the flex-init 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 br present, for example, iponly=1.

bucket

(Optional) Common to all obj.conf functions.

buffers-per-file

Specifies the number of buffers for a given log file. The default value is determined by the server. 

Access log entries can be logged in chronological order by using a single buffer per log file. Add buffers-per-file=1 to the Init fn=flex-init line in magnus.conf. This setting ensures that requests are logged in chronological order. This approach results in decreased performance when the server is under heavy load.

Examples


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

See Also

common-log, record-useragent