I think the problem is that the line it's complaining about doesn't have the user field. Maybe you have some lines with and some without in your logfile?
-- Stephen Turner 2008/5/17 Richard Hamilton <[EMAIL PROTECTED]>: > Please can anyone explain to me what I am doing wrong here? Many Thanks. > Richard > > Sample Logfile Lines > > C: 83.128.227.45 - - [17/May/2006:08:36:22 +0100] "GET /favicon.ico > HTTP/1.1" 404 533 "" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; > rv:1.7.12) Gecko/20050919 Firefox/1.0.7" - > C: 83.128.227.45 - - [17/May/2006:08:36:22 +0100] "GET /favicon.ico > HTTP/1.1" 404 533 "" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; > rv:1.7.12) Gecko/20050919 Firefox/1.0.7" "user_id=01832" > > > Sample Logformats - All have been tried > > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B" > "%u") > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B" > "%j") > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B" %j) > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B" > "user_id=%j") > > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B" "%u") > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B" "%j") > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B" %j) > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B" > "user_id=%j") > > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" "%u") > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" "%j") > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" %j) > LOGFORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" "user_id=%j") > > > SAMPLE DEBUG RESULTS - The wrapping has spoiled this but it chokes on the > "user_id=x" field. > > C: 81.178.217.75 - - [17/May/2006:08:36:22 +0100] "GET /favicon.ico > HTTP/1.1" 404 533 "" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; > rv:1.7.12) Gecko/20050919 Firefox/1.0.7" > C: > > * > > > > +------------------------------------------------------------------------ > | TO UNSUBSCRIBE from this list: > | http://lists.meer.net/mailman/listinfo/analog-help > | > | Analog Documentation: http://analog.cx/docs/Readme.html > | List archives: http://www.analog.cx/docs/mailing.html#listarchives > | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general > +------------------------------------------------------------------------ > +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

