Re: truncating listener.log on Windows
Date: Tue, 26 Jul 2011 16:47:12 -0400
I use "set log_file", but I don't save the config.
>set log_file listener_temp.log
then I rename listener.log to something else (listener_20110725.log)
>set log_file listener.log
If you have admin restrictions on, you'll need to change the listener.ora and reload it first.
On Tue, Jul 26, 2011 at 4:40 PM, Schauss, Peter (ESS) <peter.schauss_at_ngc.com
> 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?
> Peter Schauss