On Tue, 24 Apr 2001 09:53:54 +0100 (BST), Stephen Turner wrote:

>On Mon, 23 Apr 2001, [EMAIL PROTECTED] wrote:
>
>> On Mon, 23 Apr 2001 15:22:27 -0700, Jeremy Wadsack wrote:
>> 
>> >
>> >You have an extra "%j" in your request block. Try this:
>> >
>> >LOGFORMAT (%S %v - %u [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b "%f" "%B")
>> 
>> Nope, no difference... still reporting a problem with the - at the end of the time 
>block.  
>> 
>
>That's not where it's reporting the problem with your sample line. And
>Jeremy's suggestion processes your sample line just fine. Do you maybe have
>other lines in a different format?

I found the problem, but still would like to know "why".

Some of the records don't have a username since they are public requests, by
removing the space between the - and the %u it started working.

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

However, ANALOG was putting the asterick directly in line with the dash in the 
time zone information when you were telling me the time zone wasn't the trouble.
It would be nice if there was a way to route the console output with standard
redirection, or to print the lines in error to an error file.

Here is a sampling of some of the records that were causing the trouble:

38.152.44.199 www.simsware.com - [05/Oct/2000:21:22:47 -5] "GET /bottom.shtm" 200 764 
" " "Mozilla/4.75 [en] (Windows NT 5.0; U)"
38.152.44.199 www.pcpaaa.org - [05/Oct/2000:21:23:00 -5] "GET /" 200 199 " " 
"Mozilla/4.75 [en] (Windows NT 5.0; U)"
216.34.121.67 www.nevets.net - [05/Oct/2000:21:30:56 -5] "GET /shareware/sware.htm" 
404 145 "http://www.nevets.net/index.htm"; "Mozilla/2.0 (compatible; Ask Jeeves)"
proxy.nevets.net www.simsware.com - [05/Oct/2000:21:31:22 -5] "GET /" 200 3737 " " 
"Mozilla/4.75 [en] (Windows NT 5.0; U)"



--
Steven M. Ryckman
Email: [EMAIL PROTECTED]
 http://the.nevets.net


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