Kjetil ([EMAIL PROTECTED]):

> I have a some problems with my Apache logfile (Linux) and the Analog
> configuration.

> This is my settings in "httpd.conf" for the log file:
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
> \"%{SaneCookie}n\" %<{SaneStop}n %T"

> Actual logfile:
> 217.8.140.106 - - [23/Oct/2001:00:34:06 +0200] "GET / HTTP/1.1" 304 -
> "http://kvasir.sol.no/lenkeguide/"; "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT
> 5.0)" "217.8.140.106-1002784650269" 0 0

> Do anyone know the correct configuration of Analog to handle this logformat?


This is conmbined format with three extra fields. You can take the
formats from http://www.analog.cx/docs/logfmt.html, for Combined and
add %j to the end to tell it to ignore everything else:

LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f"
"%B" %j)
LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B" %j)
LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" %j)



-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to