Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: stopiing write to listener.log

RE: stopiing write to listener.log

From: <Alexander.Feinstein_at_mitchell1.com>
Date: Thu, 07 Feb 2002 17:27:28 -0800
Message-ID: <F001.00409692.20020207140821@fatcity.com>

You can try something like this:

ORACLE_HOME=/u000/app/oracle/product/8.1.7; export ORACLE_HOME PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/etc; export PATH CURR_DATE=`date +%Y%m%d`
$ORACLE_HOME/bin/lsnrctl set log_file $ORACLE_HOME/network/log/listener.log.2
mv $ORACLE_HOME/network/log/listener.log $ORACLE_HOME/network/log/listener.log.1
$ORACLE_HOME/bin/lsnrctl set log_file $ORACLE_HOME/network/log/listener.log
grep -v service_update ${ORACLE_HOME}/network/log/listener.log.1 > ${ORACLE_HOME}/network/log/lstnr.log.$CURR_DATE grep -v service_update ${ORACLE_HOME}/network/log/listener.log.2 >> ${ORACLE_HOME}/network/log/lstnr.log.$CURR_DATE rm -f ${ORACLE_HOME}/network/log/listener.log.1 rm -f ${ORACLE_HOME}/network/log/listener.log.2

Alex. Received on Thu Feb 07 2002 - 19:27:28 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US