You can view the alert log with a text editor, with Enterprise Manager, or with the ADRCI utility.
- 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.
- Connect to the database with SQL*Plus or another query tool, such as SQL Developer.
- Query the
V$DIAG_INFOview 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_INFOquery results, note the path that corresponds to theDiagTraceentry, and change directory to that path. - Open file alert_SID.log with a text editor.
- In the
- To view the XML-formatted alert log, complete these steps:
- In the
V$DIAG_INFOquery results, note the path that corresponds to theDiagAlertentry, and change directory to that path. - Open the file log.xml with a text editor.
- In the
No comments:
Post a Comment