Listing Cache Contents to a File Configuring Where to Display Diagnostic Information From the Global Page Body Diagnostics Configuration table, click Edit. In the URL Flag field, enter the string to append to the URL of the object.

Using Diagnostic Features 8-9

c. In the Display Event Log Entries for Request field, select Yes to display

diagnostic information and TRACE event log entries in the HTML response body, or select No to only display diagnostic information.

d. Click Submit.

4. To enable or disable diagnostic settings in the Server response header, from the Global Server Header Diagnostics table, click Enable or Disable. 5. Click Apply Changes. 8-10 Oracle Fusion Middleware Administrators Guide for Oracle Web Cache 9 Logging 9-1 9 Logging The logging feature of Oracle Web Cache enables you to troubleshoot difficulties you might have in execution and use of Oracle Web Cache and associated processes. This chapter includes the following topics: ■ Section 9.1, Introduction to Event Logs ■ Section 9.2, Introduction to Access Logs ■ Section 9.3, Configuring Event Logs ■ Section 9.4, Configuring Access Logs ■ Section 9.5, Creating a Customized Access Log Format ■ Section 9.6, Creating a Customized Access Log Rollover Policy ■ Section 9.7, Viewing Event Logs and Access Logs ■ Section 9.8, Rolling Over Event and Access Logs ■ Section 9.9, Using Audit Logs

9.1 Introduction to Event Logs

Oracle Web Cache records event and error information in event logs. An event log entry can help you determine what objects have been inserted in the cache and alert you to any cache-related issues. By default, 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. By default, the event log has a file name of event_log for the Oracle Web Cache and Oracle Diagnostic Logging ODL text formats and log.xml for the ODL XML format. Oracle Web Cache stores logs files in the following directories: UNIX ORACLE_INSTANCEdiagnosticslogsWebCachewebcache_name Windows ORACLE_INSTANCE\diagnostics\logs\WebCache\webcache_name This section includes the following topics: ■ Section 9.1.1, Event Logging Formats ■ Section 9.1.2, Event Log Examples

9.1.1 Event Logging Formats

When you configure settings for event logs, select the logging format: