Re: truncating listener.log on Windows

From: Jay Hostetter <>
Date: Tue, 26 Jul 2011 16:47:12 -0400
Message-ID: <>

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) <
> wrote:

> 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?
> Thanks,
> Peter Schauss
> --

Received on Tue Jul 26 2011 - 15:47:12 CDT

Original text of this message