When listener log file grows

07/10/2009

When the listener.log file grows, it is getting harder to tail logs. The log file must be reopened. There is no need to close listener service to reset the log file. After setting the logging state off just rename the log file, then set the logging state on again. Just three commands and it is done.

# lsnrctl set log_status off

# mv $ORACLE_HOME/network/log/listener.log listener.eski

# lsnrctl set log_status on

No related posts.

Tags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*