Creating a Customized Access Log Rollover Policy

9-30 Oracle Fusion Middleware Administrators Guide for Oracle Web Cache To remove a time from the schedule list, select the time, and then click Remove. The value moves to the left list, where you can modify it. See Section 9.8 for instructions on immediately rolling over log files.

7. In the Rollover by Size field, enter the maximum size of the log file size at which

rollover occurs. Specify 0 for unlimited size.

8. In the Retention by Time field, specify how long to keep log files before purging

the oldest ones. In the Every field, enter the quantity and from the list of Hours, Days, Weeks, Months , Years, select the duration. A quantity of 0 means unlimited time, which means Oracle Web Cache does not retain files based on time.

9. In the Retention by Size field, enter the total size of all log files before purging

oldest ones. Specify 0 for unlimited size. This value must be larger than the value you specify for the Rollover Size field. If neither Retention by Time or Retention by Size is set, then log files can grow without limits. The log files could end up consuming all available space on the disk where this file is located.

10. Click OK to apply changes and return to the Access Log Configuration page.

11. Click Apply in the Access Log Configuration page to apply this change.

9.7 Viewing Event Logs and Access Logs

To view events logs, use either the Fusion Middleware Control or the WLST listLogs command. See the following documentation resources: ■ Oracle Fusion Middleware Administrators Guide for details on the various tools for viewing event logs ■ Oracle Fusion Middleware Error Messages Reference describes the event log messages in further detail. To view access logs, use any text editor.

9.8 Rolling Over Event and Access Logs

In addition to configuring event and access log rollover frequency, you can immediately roll over event and access logs. During the rollover process, Oracle Web Cache saves current information to lot file and writes future log information to a new log file with the configured log file name. To immediately roll over log files: 1. Navigate to the Web Cache Home page in Fusion Middleware Control. See Section 2.6.2 .

2. From the Web Cache menu, select Operations and then On Demand Rollover.

9.9 Using Audit Logs

Oracle Web Cache supports the Common Audit Framework for providing a uniform system for administering audits across Oracle Fusion Middleware components. The audit log files generated by Oracle Web Cache processes provide important information that can help you identify and diagnose potential security performance and configuration issues. Logging 9-31 Oracle Web Cache records the following events in the audit log: ■ Startup and shutdown events ■ Inter-cache communication events, such as: – Authentication or challenge events – Subscriber cache insertion to subscriber list success or failure – Invalid address information from subscriber – Remote or subscriber cache authentication event – Addition or removal of cluster cache member ■ Request authentication events, such as: – Login to Oracle Web Cache ports – Denied request due to access control settings or request-filtering rules – Identity denied to access cached objects – Invalidation in response containing wrong Web site information – Client certificate failed – SSL connection denied because no client certificate was provided – SSL connection denied because client certificate presented was on the CRL ■ Configuration services, such as: – Dynamic configuration changes applied – SSL handshake failed with the origin server – Authentication with the proxy server failed For more information, see Oracle Fusion Middleware Security Guide for further information about using audit logs. 9-32 Oracle Fusion Middleware Administrators Guide for Oracle Web Cache