Log Fast Response Cache Accelerator Requests (Not valid on UNIX): IBM HTTP Server
System Administration IBM HTTP Server documentation
Applies to AIX Applies to Windows NT

Log Fast Response Cache Accelerator Requests (Only valid on AIX and Windows NT)


Note: The Fast Response Cache Accelerator is also known as the Cache Accelerator.

 

Overview of the Cache Accelerator access log

IBM HTTP Server can optionally create a log file that records requests served by the Cache Accelerator.

Enable the Cache Accelerator access log if you want to maintain a record of requests served by the Cache Accelerator. Requests that are not served by the Cache Accelerator can be logged using the normal Apache logging directives in separate log files.

You may want to use this log if you have enabled the Cache Accelerator for improved performance, and want to record information about requests served from the Cache Accelerator. This log is a useful way to verify that caching is enabled and a way of determining which files are being cached.

Even though a file is cached, the sequence of events on a given connection determines whether or not the file is served from the cache.

The log file has a date stamp automatically appended to its name. Every day at midnight the server closes the current access log and creates a new one. This action allows the log file to process without having to stop and restart the server. Under heavy load conditions the log file can grow rapidly. Provide sufficient space on the hard drive for storage.

For each request served out of the Cache Accelerator, an entry is made in the access log showing:

  • Source host address
  • Date and time of the request
  • The HTTP method of the request, and what was requested
  • The HTTP return code, which indicates whether the request was honored
  • The size of the returned data

Optionally:

  • The target virtual host (V-CLF and V-ECLF)
  • The referer (ECLF and V-ECLF)
  • The user agent (ECLF and V-ECLF)

Specify the path and file name for the Cache Accelerator access log

You can specify the path and file name of the Cache Accelerator access log file from the Administration Server.

  1. Go to Performance > Server Settings and in the Performance cache log filename field set the following directive:
    AfpaLogFile file_path_and_name log_format
    
  2. Click Yes next to Enable server performance caching.
  3. Click Submit.
  4. Restart the server.

 
Related information...

     (Back to Top)