Sergio,

Bad behaviour by your ISP! Do you already minimise the gaps by automating a
copy to a local file (cron schedule or windows scheduled task). ftp can be
scripted to do this on either platform (don't know anything about Macs!)and
then at least you would get most of the data. it should be a simple matter
to look at the first line in the new file and check it against the first
line in the previous one - if they are different then the ISP has rotated
(or just zapped) the logs.

I suppose this all depends on the speed and cost of your ISP link - paid for
dial up modem would make this an expensive and slow option. The only
alternative would be to change ISP's, and remember to ask about this in the
list of requirements before you sign up!

Cheers

Simon West

-----Original Message-----
From: TERMIS [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 12:50
To: [EMAIL PROTECTED]
Subject: [analog-help] Regarding how to "zero out" an access log.


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?

I thank you in advance for any help on this (to me) sticky problem.

Sergio Reyes



------------------------------------------------------------------------
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]/
------------------------------------------------------------------------
------------------------------------------------------------------------
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