p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

pro_vb thread: File Sys Question


Message #1 by "Erik" <eprussman@c...> on Thu, 12 Apr 2001 14:20:38
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0C3A9.FE8DD970
Content-Type: text/plain;
	charset="iso-8859-1"

If your logging errors then obviously, probably not, you would not expect to
get many errors *hopefully*..

But why not add the date to the file, that way you check to see if;

errlog12042001.log

exists and if not create it, that add to it as required... when it's the
13/04/01 create a new file...

Keeps the files smaller, as long as there aren't many errors...

-----Original Message-----
From: Erik [mailto:eprussman@c...]
Sent: Thursday, April 12, 2001 3:21 PM
To: professional vb
Subject: [pro_vb] File Sys Question


I am logging errors to a file using the FS object. My question is, does it 
take more resources to open a file sized at a meg vs a kb? I am trying to 
decide if I should put a check on the file size and begin a new one if the 
size reaches a certain threshold. To me I would think it would require 
more resources but I am not sure. 

Any thoughts and thanks?


  Return to Index