The Oracle listener log storage location varies depending on the operating system. It is located at "%ORACLE_BASE%\diag\tnslsnr\%LISTENER_NAME%\listener.log" in Windows and "$ORACLE_BASE/" in UNIX/Linux. diag/tnslsnr/%LISTENER_NAME%/listener.log". Among them, %ORACLE_BASE% is the Oracle software installation directory, and %LISTENER_NAME% is the listener name.
Oracle database listening log storage location
Oracle listener log is used to record the start and stop of the listener and other events. To view the listener log, you need to know where it is stored.
The default location of Oracle listener logs varies by operating system. The following are common storage locations:
%ORACLE_BASE%\diag\tnslsnr\%LISTENER_NAME%\listener.log
$ORACLE_BASE/diag/tnslsnr/%LISTENER_NAME%/listener.log
Among them:
%ORACLE_BASE%
is the base directory for Oracle software installation. %LISTENER_NAME%
is the name of the listener. For example, if the Oracle software is installed in C:\oracle
and the name of the listener is LISTENER
, on Windows the listener log will Located at C:\oracle\diag\tnslsnr\LISTENER\listener.log
.
Note:
ALTER LISTENER LISTENER_NAME SET LOGFILE
command to change the storage location of the listener log. The above is the detailed content of Where is the oracle database monitoring log stored?. For more information, please follow other related articles on the PHP Chinese website!