On Mon, 21 May 2001, Mayo, Brian (FUSA) wrote:

> I have having trouble getting the correct LOGFORMAT.
> My web log could be:
> IP - - [21/May/2001:9:45:22 +0000] "GET /filname" 304 20 COOKIE
> 
> or
> 
> IP - - [21/May/2001:9:45:22 +0000] "GET /filname HTTP/1.0" 304 20 COOKIE
> 
> I tried the LOGFORMAT:
> LOGFORMAT (%S - - [%d/%M/%Y:%h:%n:%j] "%j %r%j" %c %b %u)
> but I keep getting an error that say I have an unterminated string.
> I think I can show that the problem is with the %r%j combination but I
> cannot seem to get any other technique to have Analog handle a situation
> where I have:
> ...filename" or ...filename HTTP/1.0"
> 

Everything you say is correct. You need two LOGFORMATs, one with "%r %j" and
one with just "%r".

-- 
Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
  "Your account can only be used for a single internet session at any one
   time and for no more than 24 hours in any one day." (NTL terms of use)

+------------------------------------------------------------------------
|  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