truncating listener.log on Windows

  • From: "Schauss, Peter (ESS)" <peter.schauss@xxxxxxx>
  • To: "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 26 Jul 2011 20:40:26 +0000

Oracle 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?

Peter Schauss

Other related posts: