Thanks that works! I must have missed something.

I don't want the date stored twice on every line, but that's how the log 
is. Must be something wrong with the server.

At 10:31 AM 7/27/01 +0100, you wrote:
>On Fri, 27 Jul 2001, Josh Hill wrote:
>
> > See, that's the problem though. I checked the format code and it was 
> set to
> > COMMON. But I get this in my log:
> >
> > Jun 30 20:02:07 localhost httpd_static: 204.71.191.80 - -
> > [30/Jun/2001:20:02:07 +0000] "GET /download.html HTTP/1.0" 200 33829 "-"
> > "LECodeChecker/3.0 libgetdoc/1.0"
> >
> > That makes no sense whatsoever. I have tried to use many different format
> > commands but Analog typically gets stuck on "localhost" as a star appears
> > under "l" in the error log. Here's what I have been trying to use:
> >
> > LOGFORMAT %M%w%d%w%h:%n:%j%w%S%w%j:%w"%c%w%r%wHTTP%j"%w%b\n
> >
>
>OK, this one doesn't work because it doesn't have the year, so analog can't
>determine that date. You would have got an error message about this one.
>
>(PS Why do you want to store the date twice on every line??)
>
> > LOGFORMAT (%j %j %j:%j:%j %j %j: %s %j - - [%d/%M/%Y:%h:%n:%j %j] "%j %r
> > %j" %c %b "%f" "%B")
>
>But this one works if you delete the superfluous %j after the %s.
>
>--
>Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
>   Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
>"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01
>
>+------------------------------------------------------------------------
>|  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
>+------------------------------------------------------------------------

_____________________________________________________________________
Josh Hill
Community Development Manager
eXtropia - the open web technology company
10 Science Park Road, #03-22 The Alpha, Singapore Science Park II, 
Singapore 117684
http://www.eXtropia.com
tel: (65) 773-8550   fax: (65) 872-3788
_____________________________________________________________________

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