Re: truncating log file

  • From: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
  • To: <onkarnath.tiwary@xxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 20 Jun 2005 11:37:23 +0200

You can try:

cp the_name_of_your_logfile.log the_name_of_your_logfile.log.old
echo "Resetting the log ..." > the_name_of_your_logfile.log



HTH

Dimitre 


  ----- Original Message ----- 
  From: Onkar N Tiwary 
  To: oracle-l@xxxxxxxxxxxxx 
  Sent: Monday, June 20, 2005 11:33 AM
  Subject: truncating log file


  Hi all,

  Few days ago I had seen one mail containing the method of truncating  a log 
file and setting its size to say few megs without opening it on windows 2000 
but now I don remember the command. If anyone can either forward that mail and 
pass me the command , will be obliged. 

  -- 
  Thanks & Regards,
  T. Onkar Nath
  Ph : +91-9826728111(Cell)
         to_onkar@xxxxxxxxx
         onkarnath.tiwary@xxxxxxxxx 
   

Other related posts: