Search This Blog

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

No comments:

Post a Comment

leave your message if you need help ...

Related Posts with Thumbnails