Log file scenario

The following example shows how you can customize logging to meet your needs. Suppose you have just purchased and installed Caching Proxy. You want to set up your server to log access and error information with the following requirements:

To configure Caching Proxy to keep logs according to these criteria, in the Configuration and Administration forms, select Server Configuration -> Logging.

  1. Optionally, select the Log Files form to specify paths for the access log files. (Default paths are provided.)
  2. Use the Log Archiving form to specify how to archive the files:
  3. Use the Access Log Exclusions form to filter log entries as follows:

Following these directions produces the following lines in the proxy configuration file:

LogArchive purge 
PurgeAge 30 
PurgeSize 25 
AccessLogExcludeURL *.gif 
NoLog 130.128.*.* 
AccessLogExcludeReturnCode 300