On 9/14/99 5:38 AM Monika Gause ([EMAIL PROTECTED]) wrote:
>>
>LOGFORMAT COMBINED
>LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b %v "%f"
>"%B")
>LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b %v "%f" "%B")
>LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b %v "%f" "%B")
>>
>>That should do it.
>
>I'm sorry... it doesn't. I put all the lines (second and third are actually
>one line, I guess?) in analog.cfg and Analog reports:
>
>Current logfile format:
> %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n
> %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
> %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n
>
>And the Report.html shows no successful requests, but corrupt lines. I've
>also tried to leave out "LOGFORMAT COMBINED", but that doesn't change the
>result. Then I tried to enter this as LOGFORMAT, because it differs
>slightly from the above quote, but again I received a warning.
You are correct, there should be four LOGFORMAT commands, the mail system
wrapped the second line into two.
Did you get any warnings about invalid configuration commands? To get the
message you quoted, Analog whould have had to have ignored the second
through fourth LOGFORMAT commands. The three log formats Analog is
displaying are all from the LOGFORMAT COMBINED.
It is also possible that you have a LOGFORMAT AUTO somewhere in the
configuration file. The four LOGFORMAT commands I gave must be the only
LOGFORMAT commands, and they must occur before the LOGFILE command.
If you are using drag and drop or piping logs through standard input you
will also need DEFAULTLOGFORMAT commands that match the LOGFORMAT
commands.
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.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------