Search This Blog

Showing posts with label listener log file. Show all posts
Showing posts with label listener log file. Show all posts

Monday, June 28, 2010

How to delete Listener.log?

By default the listener.log is in %ORACLE_HOME%network/log/ directory. It grows day by day and you want to delete it because its size. You do not have to stop the listener in order to delete the log files. What you can do is the following:
$> lsnrctl
LSNRCTL> set current_listener <listener_name>
LSNRCTL> show log_file
LSNRCTL> set log_file <new log file name>
LSNRCTL> show log_file
LSNRCTL> exit

$> remove or backup the old listener.log
Related Posts with Thumbnails