Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

ProcedureTo Set the Access Log Preferences for the Administration Server

  1. Access the Administration Server and click the Preferences tab.

  2. Click the Set Access Log Preferences link.

    The Set Access Log Preferences page is displayed.

  3. Select the resource from the drop-down list or click the Regular Expression button, type a regular expression, and click OK.

  4. Specify whether to log client accesses.

    This setting requires Domain Name Service (DNS) to be enabled.

  5. Specify the absolute path for the access log file.

    As a default, the log files are kept in the logs directory in the server root. If you specify a partial path, the server assumes the path is relative to the logs directory in the server root.

    If you are editing the entire server, the default value for this field is $accesslog, the variable that denotes the access log file for the server in the configuration file.

  6. Choose whether record domain names or IP addresses of the systems accessing the server in the access log.

  7. Choose the type of log file format to use in the access log.

    The following options are available:

    • Use Common LogFile Format. Includes client’s host name, authenticated user name, date and time of request, HTTP header, status code returned to the client, and content length of the document sent to the client.

    • Only Log. Enables you to determine which information will be logged. You can choose from the flexible log format items listed in Table 9–2.

    • If you choose a custom format, type it in the Custom Format field.

  8. Click OK.

  9. Click Restart Required.

    The Apply Changes page is displayed.

  10. Click the Restart Proxy Server button to apply the changes.