# log listener
#
# MIOLIST=alert_$ORACLE_SID.log_`date ‘+%y%m%d%H’`
lsnrctl << ALFINE
set current_listener LISTENER_$ORACLE_SID
set log_status OFF
exit
ALFINE
mv $MIOLIST $MIOLIST.`date ‘+%y%m%d%H’`
lsnrctl << ALFINE
set current_listener LISTENER_$ORACLE_SID
set log_status ON
exit
ALFINE