On 12/11/98 3:28 PM Eric Whitney ([EMAIL PROTECTED]) wrote:
> Whenever I run analog.exe, it comes up with the following
>errors:
>
>Warning R: Turning off empty time reports (For help on all errors and
>warnings, see docs/errors.html)
>Warning R: Turning off empty Request Report
>Warning R: Turning off empty File Type Report
>Warning R: Turning off empty Directory Report
>Warning R: Turning off empty Domain Report
>Warning R: Turning off empty File Size Report
>Warning R: Turning off empty Status Code Report
>
>I understand now that this means that analog is disabling those reports,
>assumedly because it claimed it could not find any data to use for each
>report within the logfile.
> I know that analog at least reads through my logfile (it does
>not give the error saying it can't find the file, and takes a good 40
>seconds before it comes up with the above listed warning messages).
>
>----------
>Here is a sample line of my log file:
>
>129.186.1.202, -, 12/01/98, 16:18:41, W3SVC, 209.76.48.42, 209.76.48.42,
>80, 245, 2960, 200, 0, GET, /index.html, Mozilla/4.04 [en] (Win95; I),
>-, -, -,
>
>----------
>I have tried three different methods to get this to work, and all have
>failed:
>
>1) tried using LOGFORMAT MICROSOFT-NA.
>
>2) tried writing my own long format string:
>
>LOGFORMAT (%S, %u, %m/%d/%y, %h:%m:%j, W3SVC, %j, %v, %j, %j, %b, %c,
>%j, %j, %r, %j/%j [%j] (%j; %j), %f, %j, %j,)
>
>3) tried using the example one for Microsoft IIS on your site.
>
>----------
>Do you have any idea what could be going wrong here? The program runs,
>and then turns up a report.html that has no reports in it, other than
>saying that there are ~300,000 "lines without status code".
That is not a standard Microsoft IIS log. There are four extra fields at
the end of the line. Your LOGFORMAT command is close, try this one:
LOGFORMAT (%S, %u, %m/%d/%y, %h:%n:%j, W3SVC, %j, %v, %j, %j, %b, %c, %j,
%j, %r, %j, %f, %j, %j)
Remember that that should all be on one line with ", " between each
field, regardless of what the mail system does to it.
There are two interesting bugs here. I don't understand why standard
Microsoft log format accepts the line but doesn't find the status code. I
also don't know why your log format command didn't get a clear error
message, you had %m twice when the second one should have been %n.
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.
--------------------------------------------------------------------