Re: Tracing multi-tier apps

Trimming the listener log

trimlog.sh
STAMP=`date +%Y%m%d_H%m%s`
lsnrctl set log_status off
mv listener.log listener.log.$STAMP
lsnrctl set log_status on


Speaking of which, is there a simple way to trim the listener log in Windows? Normally you can rename some of them, but a few seem to always be locked by the process. Here I am derailing my own topic. ;)


--
"Oracle error messages being what they are, do not
highlight the correct cause of fault, but will identify
some other error located close to where the real fault lies."

--
http://www.freelists.org/webpage/oracle-l


Other related posts: