Hi, I just used logfix to fix some old logfiles that needed to add the
date.
I use windows 2000/NT.
First, save logfix.vbs in the folder that contains all of your logfiles
Then, use the DOS command prompt and find the directory that contains
all of the logfiles and the logfix.vbs.
Then, all you have to do is type: logfix (name of the logfile) at the
command prompt and it will change the logfile to include the date on
each line.
Julie
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 2:17 AM
To: [EMAIL PROTECTED]
Subject: [analog-help]
Hi,
Many thanks to S Turner whose work is greatly appreciated.
I am only recently introduced to Analog and wanting to try it out, the
report sample produced by the sample logfile
seems to provide me with useful information. However when run against a
sample logfile of my own, it doesn.t
seem to work. The reason appears to be documented at various places in
the
Web site and Archive file.
My problem is as described by a lead in the Web site.
Analog can't process logs which have the time on each line but
the
date only in a header, because it has no way to tell if the date has
changed
during the logfile.
So here are two scripts to add the date to every line of an
extended
format log. The first uses Perl, and the second uses the Windows
Scripting
Host.
Please read the warnings at the top of each program or you might
get
wrong data: they both assume that there are no 24-hour gaps in the
logfile.
Neither of these may be true in practice (especially on intranets). The
convlog program comes with the Microsoft IIS server and will do a
similar
job, but also has to make these assumptions. So it is much better to log
the
date on every line initially.
adddates.pl <adddates.pl> by Jeremy Wadsack, freeware.
logfix.vbs <logfix.vbs> by Aengus Lawlor, freeware.
Please advice how to make the log record the date time on every line
initially. I will advice the admin guy to implement it.
If anyone has used logfix , can you advice me how to do it ?.
Thank you very much.
Mai Tran
Technical Services
Bendigo Bank
Phone 61-3-54339891
Email [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Disclaimer
This transmission may contain information which is confidential and
privileged and intended only for the addressee. If you are not the
addressee
you may not use, disseminate or copy this information. If you have
received
this information in error please notify us immediately. Thank you.
**********************************************************************
This communication is intended only for use of the addressee and may
contain legally privileged and confidential information. If you are not
the addressee, you are notified that any transmission, distribution or
replication of this message is strictly prohibited. The legal privilege
and confidentiality attached to this email is not waivered, lost or
destroyed by reason of a mistaken delivery to you. If you have received
this message in error, we would appreciate immediate notification by
telephone and ask that the message be permanently deleted from your
system.
Bendigo Bank
**********************************************************************
------------------------------------------------------------------------
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]/
------------------------------------------------------------------------