7.11 Managing Log Files

Oracle Reports 11g Release 1 (11.1.1) provides improved diagnosability through logging and tracing enhancements.

All Oracle Reports log files follow Oracle Diagnostic Logging (ODL) format, the standard across Oracle Fusion Middleware, for log format, message types, and log management directives. The log file entries are in Text format (default) or XML format. For detailed information, refer to Oracle Fusion Middleware Administrator's Guide.

For information about log file enhancements, see Section 24.3.2, "Log Files"

Note:

If you change the log path for the in-process server engine (that is, oracle.reports.engine logger), ensure that you make similar changes in the logmetadata.xml file. This file resides in the same directory as logging.xml.

7.11.1 Viewing and Searching Log Files

To view and search log files in Oracle Enterprise Manager:

  1. Log in to Oracle Enterprise Manager.

  2. Navigate to the desired component's home page (see Section 7.3, "Viewing the Component Topology"): Reports Server, Reports Application, Reports Bridge, or Reports Tools.

  3. From the Reports menu, select Logs > View Log Messages.

    The Oracle Enterprise Manager Log Messages page is displayed.

  4. View the trend metrics; that is, how many errors of each type (Incident Error, Error, Warning, Notification, Trace) have been logged in the log files for the component.

  5. Use the search options available in the page to search inside log files with various parameters, such as specific message type or time duration.

To modify the information logged in log files to diagnose issues, see Section 7.18.1, "Specifying Logging Information".

7.11.2 Configuring Log Levels

To configure Log Levels in Oracle Enterprise Manager:

  1. Log in to Oracle Enterprise Manager.

  2. Navigate to the component's home page (see Section 7.3, "Viewing the Component Topology").

  3. From the Reports menu, select Logs > Log Configuration.

    The Log Configuration page is displayed.

  4. Select the Log Levels tab

  5. Select the appropriate log level for each Logger Name from the ODL Level drop-down list.

  6. Click Apply

7.11.3 Editing Log Files

To edit the log files in Oracle Enterprise Manager:

  1. Log in to Oracle Enterprise Manager.

  2. Navigate to the component's home page

  3. From the Reports menu, select Logs > Log Configuration

    The Log Configuration page is displayed

  4. Select the Log Files tab

  5. From the list of log files that is displayed, select the file which you want to edit

  6. Click Edit Configuration...

    The Edit Log File pop-up window is displayed

  7. Edit the required parameters.

  8. Click OK

Note:

If you change the Log File Format in the Edit Log File window, you must change the file extension in the *Log Path field, or manually delete the existing content from the log file. Therefore, the same diagnostic log file does not contain messages of different formats.