Re: truncating listener.log on Windows

  • From: Marco Gralike <Marco.Gralike@xxxxxxx>
  • To: "peter.schauss@xxxxxxx" <peter.schauss@xxxxxxx>, Oracle-L <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 27 Jul 2011 19:17:23 +0200

Disabling temporarily the logging is one, if you want to do something like 
"echo >" you could also use the unxutils tool set from sourceforge.net. I like 
it, if not only for the grep etc, because its a "standalone" utility set. No 
install or registry entry needed. See http://unxutils.sourceforge.net/


From: "Schauss, Peter (ESS)" 
<peter.schauss@xxxxxxx<mailto:peter.schauss@xxxxxxx>>
Reply-To: "peter.schauss@xxxxxxx<mailto:peter.schauss@xxxxxxx>" 
<peter.schauss@xxxxxxx<mailto:peter.schauss@xxxxxxx>>
Date: Tue, 26 Jul 2011 22:40:26 +0200
To: Oracle-L <oracle-l@xxxxxxxxxxxxx<mailto:oracle-l@xxxxxxxxxxxxx>>
Subject: truncating listener.log on Windows

Oracle 10.2.0.3.0 on Windows Server 2003 sp2.

How do you truncate the listener log file without bouncing the listener?

I know how to do this on UNIX, but when I try "echo > listener.log"  I get 
"cannot access the file because it is being used by another process".  The 
other option, appears to be to use the lsnrctl "set log" command followed by 
"save config", but, according to MOS, this may crash the listener.

Any other options?

Thanks,
Peter Schauss
--
//www.freelists.org/webpage/oracle-l



Other related posts: