On Tue, 13 Mar 2001, TERMIS wrote:

> Greetings.
> 
> This is a bit tangential, but I hope someone may still want to and be able
> to help me.
> 
> My ISP "empties out" my access log file at irregular intervals (without
> notifying me beforehand) so I never can catch them and download it just
> before they do so, with the result that I'm left with gaps in my access
> data.
> 
> I asked them to do something about it and they said that they may implement
> a utility that will permit me to "zero out" the log file at my leisure, but
> they don't know if or when this will happen.
> 
> They do not give me permission to use the "echo> access_log" command in
> telnet to empty the log file, for security reasons, or so they said.
> 
> My question to you: is there a way to use either my ftp program or telnet
> itself to get around this? I was thinking that maybe I can change the name
> of the log file (say, to "access_logx") and immediately create another
> "access_log" file. Would this work? Or is there something intrinsic in these
> types of files that would create havoc for me if I did this?
> 

It wouldn't work anyway. The server would keep writing to the old file,
even though its name had changed, until you restarted the server.

-- 
Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
  "Your account can only be used for a single internet session at any one
   time and for no more than 24 hours in any one day." (NTL terms of use)

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to