If buffering is enabled, in the Flush Interval field, enter the interval, in

Logging 9-25 With request-based logging, Oracle Web Cache collects all event log messages associated with each request in memory. If the most severe message in the request is at or above the selected verbosity level, Oracle Web Cache writes all the messages related to the request to the event log at once. Oracle Web Cache groups the messages for the request together in the log file for easier diagnosis. For example, if verbosity is set to Notification, and Oracle Web Cache encounters an error at the Trace or Debug level, Oracle Web Cache writes all of the event log messages for the request to the event log. Select Disabled to view results as they happen, especially when the verbosity is set to a level higher than Notification.

e. In Include Request Details, select Yes to enable Oracle Web Cache to write

the information from the Oracle-ECID request header, or select No to not write request information to the event log. See Section 9.1.1.2 for further information about how request details are logged. Select No if either of the following conditions apply: – You are concerned about the performance impact of event log entries for request details. – Oracle Web Cache is running in a standalone environment without Oracle HTTP Server. 5. Specify a rollover policy:

a. In the Rollover By Time section, click Edit.

The Edit Rollover Policy dialog displays. You can use the rollover options in combination. For example, you can use both Rollover by Time and Rollover by Size or both Retention by Size and Retention by Time . Oracle Web Cache performs rollover based on whichever is reached first.

b. From the Rollover by Time list, select Never, Hourly, Daily, or Weekly to

specify how often you want Oracle Web Cache to save current log information to event_log_file.yyyymmddhhmm and write future log information to a new log file with the configured log file name. If you have a high-volume site, select Daily or Hourly. c. In the Scheduled Time field, for Hourly, Daily, and Weekly, enter a new time in the left-hand side fields and menus and add it to the schedule by clicking Add . Table 9–10 describes specific configuration instructions for Hourly, Daily , and Weekly. Table 9–10 Configuring Rollover By Time Policy To configure: Hourly 1. Enter a value in the field to reflect the minutes after the hour. The default 0 means at the start of the hour. 2. Click Add. 3. From the Time Style list, select either Local or GMT Greenwich Mean Time . Daily 1. Enter a value in the hours and minutes fields. The default 0 means at the start of the day. 2. Click Add. 3. From the Time Style list, select either Local or GMT. 9-26 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.

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

which rollover occurs. Specify 0 for unlimited size.

e. 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.

f. 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.

g. Click OK.

6. Click Apply and restart Oracle Web Cache. See

Section 2.13 .

9.4 Configuring Access Logs

To configure access log settings: 1. Navigate to the Web Cache Home page in Fusion Middleware Control. See Section 2.6.2 .

2. From the Web Cache menu, select Administration and then Access Logs.

The Access Log Configuration page displays.

3. Specify the following settings for each cache in the Cache-Specific Settings table:

a. In the Directory field, enter the directory in which to write access logs.

By default, the event log is stored in the following directories: UNIX ORACLE_INSTANCEdiagnosticslogsWebCachewebcache_name Windows ORACLE_INSTANCE\diagnostics\logs\WebCache\webcache_name b. Click Enable Logging? to enable logging; deselect to disable logging. c. Click Enable Buffering? to enable buffered logging; deselect the check box to disable buffered logging. Weekly 1. Add a time by selecting a day of the week, and entering values in the hours and minutes fields. The default 0 means at the start of the week. 2. Click Add. 3. From the Time Style list, select either Local or GMT Greenwich Mean Time . Table 9–10 Cont. Configuring Rollover By Time Policy To configure: