Re: truncating listener.log on Windows
Date: Wed, 27 Jul 2011 19:17:23 +0200
Message-ID: <CA561418.97CC%marco.gralike_at_amis.nl>
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_at_ngc.com<mailto:peter.schauss_at_ngc.com>>
Reply-To: "peter.schauss_at_ngc.com<mailto:peter.schauss_at_ngc.com>" <peter.schauss_at_ngc.com<mailto:peter.schauss_at_ngc.com>>
Date: Tue, 26 Jul 2011 22:40:26 +0200
To: Oracle-L <oracle-l_at_freelists.org<mailto:oracle-l_at_freelists.org>>
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
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jul 27 2011 - 12:17:23 CDT