Adam Ronthal ([EMAIL PROTECTED]):

> Hi all...

> I'm having some trouble getting Analog 5.03 to parse a custom iPlanet (NES) 
> log.

> The netscape header is as follows:

format=%Ses->>client.ip% %Req->headers.host% %Req->headers.vars.auth-user% 
[%SYSDATE%] "%Req->>reqpb.clf-request%" %Req->srvhdrs.clf-
status% %Req->>srvhdrs.content-length% "%Req->headers.referer%" 
"%Req->>headers.user-agent%" "%Req->headers.cookie.rtnuser%"


> And my LOGFORMAT command is:

> LOGFORMAT (%s %v %j  [%d/%M/%Y:%h:%n:%j %j] \"%j %r %j\" %c %b "%f" "%B" "%u")


> The debug output is:

> ./analog: analog version 5.03/Unix
> ./analog: Warning C: Bad argument in configuration command: ignoring it:
>    LOGFORMAT (%S %v %j  [%d/%M/%Y:%h:%n:%j %j] \"%j %r %j\" %c %b "%f" "%B"
>    "%u")
> ./analog: ...cont..:   (reason: an unknown escape sequence is present)


You should probably use %S instead of %s, but you'll notice Analog
already converted this for you.

The 'unknown escape sequence' Analog is referring to is \". Change it
to just " and it should work.


-- 

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