Re: log file format

"Aengus" <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <000a01c81270$ecac2180$a6041fac@WC515ALawlo>
[email protected] wrote:
> Hi,
> I have looked for a solution on here but can't find anything tha
> works. My log file looks like this below and I have added the format
> from my httpd.conf file to the analog config but still it fails.
>
> Can anyone help?
>
> www.surrey.ac.uk 131.227.233.95 - - [07/Oct/2007:00:06:26
> +0100] "GET /SBMS/undergraduate/ HTTP/1.1" 200
> 11252 "http://www.surrey.ac.uk/SBMS/" "Mozilla/4.0 (compatible; MSIE
> 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0;
> .NET CLR 3.0.04506)"
>
>
> APACHELOGFORMAT (%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\")

That APACHELOGFORMAT works with that sample logfile line for me:

S: Successful requests: 1
S: Redirected requests: 0
S: Failed requests: 0
S: Requests returning informational status code: 0
S: Status code not given: 0
S: Unwanted lines: 0
S: Corrupt lines: 0
S: Earliest entry in logfile:  7/Oct/07:0006
S: Latest entry in logfile:  7/Oct/07:0006

If you turn debugging on, what does Analog say about why it doesn't like 
that line for you?

Aengus 


+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.