Oracle® Database Administrator's Guide 11g Release 2 (11.2) Part Number E10595-04 |
|
|
View PDF |
You can view the alert log with a text editor, with Enterprise Manager, or with the ADRCI utility.
To view the alert log with Enterprise Manager:
Access the Database Home page in Enterprise Manager.
For Oracle Enterprise Manager Database Control, see Oracle Database 2 Day DBA for instructions. For Oracle Enterprise Manager Grid Control, go to the desired database target.
Under Related Links, click Alert Log Contents.
The View Alert Log Contents page appears.
Select the number of entries to view, and then click Go.
To view the alert log with a text editor:
Connect to the database with SQL*Plus or another query tool, such as SQL Developer.
Query the V$DIAG_INFO
view as shown in "Viewing ADR Locations with the V$DIAG_INFO View".
To view the text-only alert log, without the XML tags, complete these steps:
In the V$DIAG_INFO
query results, note the path that corresponds to the Diag
Trace
entry, and change directory to that path.
Open file alert_SID.log with a text editor.
To view the XML-formatted alert log, complete these steps:
In the V$DIAG_INFO
query results, note the path that corresponds to the Diag
Alert
entry, and change directory to that path.
Open the file log.xml with a text editor.
See Also:
Oracle Database Utilities for information about using the ADRCI utility to view a text version of the alert log (with XML tags stripped) and to run queries against the alert log