1. By default, oracle log files are recorded in the $ORACLE/rdbms/log directory
[plain] view plaincopy
[oracle@oracle log]$ pwd
/home/oracle/oracle/product/10.2.0/db_1/rdbms/ The log
log file is (alert_<ORACLE_SID>.log):
[plain] view plaincopy
[oracle@oracle log]$ ll
total 848
-rw-rw-r-- 1 aaa aaa 962 06-20 15:57 alert_TESTDB.log
2 , if it is not in the default location, you can query the log file location through sql:
[plain] view plaincopy
SQL> show parameter dump_dest
NAME TYPE
---------------------- -------------- ------------
VALUE
------------- -----------------
background_dump_dest string
/home/oracle/oracle/admin/TESTDB/bdump
core_dump_dest string
/home/oracle/oracle/admin/TESTDB/cdump
user_dump_dest string
/home/oracle/oracle/admin/TESTDB/udump
The value of background_dump_dest is the log file storage location
oracle database log file
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326536885&siteId=291194637
Ranking