On 2/9/99 9:06 PM Mitch Leung ([EMAIL PROTECTED]) wrote:
>can anyone help me to config the Analog so that it can report correctly on
>a WebSTAR log?
>
>==========================================================================
>
>here's the output from Analog
>
>analog: Warning C: Ignoring corrupt format line in logfile
> (For help on all errors and warnings, see docs/errors.html)
>analog: Warning C: (reason: one item occurs twice in format)
>analog: Warning L: Large number of corrupt lines in logfile WebSTAR
> 1999.01.31.00.log: try different LOGFORMAT
> Current logfile format:
> !!LOG_FORMAT<WebSTAR format string>\n
> !!%j\n
>analog: Warning R: Turning off empty time reports
>
>==========================================================================
>
>and here's top ten lines from the log
>
>!!WebSTAR STARTUP 01/19/99:14:26
>!!LOG_FORMAT AGENT BYTES BYTES_SENT C-DNS C-IP CONNECTION_ID CS(COOKIE)
>CS(HOST) CS(REFERER) CS(USER-AGENT) CS-HOST CS-IP CS-METHOD CS-STATUS
>CS-URI CS-URI-QUERY CS-URI-STEM DATE FROM HOSTNAME METHOD PATH_ARGS REFERER
>RESULT SC-STATUS SEARCH_ARGS TIME TIME_TAKEN TRANSFER_TIME URL USER
The crucial line above is:
>analog: Warning C: (reason: one item occurs twice in format)
which tells you that one or more fields are duplicatd in the log file. A
quick look at your LOG_FORMAT shows BYTES & BYTES_SENT, C-DNS & C-IP &
CS-HOST & CS-IP & HOSTNAME, CS(REFERER) & REFERER, CS-STATUS & SC-STATUS
& RESULT, and others.
If you eliminate all of the duplicat fields Analog will work and you logs
will take less space while containg the same information.
Good Luck
Jason
-----------------
[EMAIL PROTECTED]
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
-- Peter van der Linden, Expert C Programming, Deep C Secrets
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------