Hi: I'm using analog 5.31 and am having problem configuring the LOGFORMAT for my WN verbose log entries. I've looked through the docs several times but cannot seem to figure out what I need to do. I keep getting the runtime error: analog: Warning C: Too many arguments for configuration command: ignoring end of line starting: LOGFORMAT (%S - %u [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b <\(%j/%j\) %j
It looks like analog chopped off my LOGFORMAT line... uh what is the limit of the LOGFORMAT arguments? I'm trying variations of: LOGFORMAT (%S - %u [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b <\(%j/%j\) "%j": %j> <"%j"> <%f> <%u> <%j> <%v> Below are 2 sample entries of WN's verbose format: crawl11.googlebot.com - - [01/Jan/2003:00:01:23 -0800] "GET /~tmolina/Elpaso/DCP_0011.JPG HTTP/1.0" 301 399 <(20826/1) Sent redirection: /noaccess.html> <Googlebot-Image/1.0 (+http://www.googlebot.com/bot.html)> <> <> <> s354-g3.stanford.edu - - [24/Jan/2003:14:37:06 -0800] "GET /doc/labmanual/note.gif HTTP/1.1" 200 388 <(18854/1) Sent file: /doc/labmanual/note.gif> <Mozilla/4.0 (compatible; MSIE 5.15; Mac_PowerPC)> <http://ncmir.ucsd.edu/doc/labmanual/adjust-pH.html> <> <> The WN verbose log entry format is described below: More precisely a verbose log line begins with a normal "common" log format line and then adds the following: <(pid/count) msg1: msg2> <user_agent> <referrer> <cookie> <X-forwarded-for> <nickname> The punctuation characters, i.e., < > ( ) and :, will always be present in this order. The fields "msg1" and "msg2" may contain additional parentheses or colons. Hopefully none of the fields will contain the character '<' or the character '>', but "referrer", "cookie", "X-forwarded-for" and "nickname" are provided by the browser or the server maintainer so WN has no control over them. The fields are as follows: field description pid Process id of the process serving the transaction. count n if this is the nth transaction of this (keepalive) connection. msg1 Description of transaction. May be sent to user. msg2 Description of transaction. Information NOT sent to user. user_agent From the HTTP user agent header. referrer From the HTTP referer (sic) header. cookie From the client's cookie header. X-forwarded-for From the client's X-Forwarded-For header. nickname Value assigned this virtual host by the maintainer (omitted if virtual hosting is not used). Any help would be greatly appreciated. Sincerely, Mona ================================================================== Mona Wong-Barnum National Center for Microscopy and Imaging Research University of California, San Diego http://ncmir.ucsd.edu/ "While you are busy dancing for others, just remember that others are also busy dancing for you" (A Landmark Instructor) ================================================================== +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------