I think the double quoting might be confusing Analog (it's taking them literally). Try one of these:
APACHELOGFORMAT "%v %h %l %u %t \"%r\" %>s %b"
APACHELOGFORMAT (%v %h %l %u %t \"%r\" %>s %b)


HTH

--
Jeremy Wadsack
Seven Simple Machines


Kathleen B wrote:


I have two (essentially) Apache web servers on Windows (yes, really) that generate log files like:


rup.xyz.com 129.42.20.99 - - [19/Jul/2004:18:00:22 -0600] "GET /kathleen.htm HTTP/1.1" 200 125

_______________________________________________________________________________

Here are some lines from the Apache conf file:

LogFormat "%v %h %l %u %t \"%r\" %>s %b" common
CustomLog "|\"E:/Rational/common/rwp/bin/rotatelogs.exe\" \"c:/winnt/system32/logfiles/rup/access.log\" 86400" common


_______________________________________________________________________________

If I do not specify a log format, I get lots of errors in my Analog log and no output (or, rather, only the General Summary and a large number of "Corrupt logfile lines"). A sampling of the errors in the output is:

e:\analog\analog.exe: Warning L: Large number of corrupt lines in logfile
e:\logs\server\reqweb\access.log.1087344000: turn debugging on or try
different LOGFORMAT
Current logfile format:
%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b\n
%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b\n
%S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b\n
_______________________________________________________________________________


If I turn on debugging, I see:

F: Opening e:\logs\server\rup\test\access.log.1090289999 as logfile
F: Detect that it's in common log format
C: rup.xyz.com 129.42.20.99 - - [19/Jul/2004:18:00:22 -0600] "GET /kathleen.htm HTTP/1.1" 200 10517
C: *
F: Closing logfile e:\logs\server\rup\test\access.log.1090289999


_______________________________________________________________________________


I tried specifying (mimicing the conf file): APACHELOGFORMAT ("%v %h %l %u %t \"%r\" %>s %b")

I get the same results as above.

I've also played around with various LOGFORMAT commands, but failed.

Help?

Thanks,
Kathleen


+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------


+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to