Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  access log format

Guest
Posted: Wed Mar 10, 2010 8:42 am Reply with quote
Guest
Hi, i have a Question to the log format.

In the man page to the config stands, that the "Common Log Format" is used.
Means that the format of apache(because it is so popular)?

I ask, because i wanted to use an log analyzer, but it only find invalid entries.

After comparing yaws access log and apache access log i find, that there is a little difference.

this is a yaws entry:
Guest
Posted: Wed Mar 10, 2010 9:01 pm Reply with quote
Guest
Daniel Fahlke wrote:
> Hi, i have a Question to the log format.
>
> In the man page to the config stands, that the "Common Log Format" is used.
> Means that the format of apache(because it is so popular)?
>


Yes,

> I ask, because i wanted to use an log analyzer, but it only find invalid
> entries.

Which analyzer, I've used several different ananlyzers on the yaws logs
over the years.

>
> After comparing yaws access log and apache access log i find, that there
> is a little difference.
>
> this is a yaws entry:
> 207.46.13.85 - - 10/Mar/2010:07:43:04 +0100 "GET /Beitrag.php?ID=3
> HTTP/1.1" 200 3 "-" "msnbot/2.0b (+http://search.msn.com/msnbot.htm)"
>
> this a apache entry:
> 66.249.71.45 - - [09/Mar/2010:17:36:19 +0300] "GET
> /service/popup/popup/index.php HTTP/1.1" 200 3756 "-" "Mozilla/5.0
> (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
>
>
> the differenze is at the date, yaws dont place brackets.
>

Interesting,

> Is this a Bug or a feature?
>

It actually looks as a bug.

http://en.wikipedia.org/wiki/Common_Log_Format



I've fixed it in git.

http://github.com/klacke/yaws/commit/9dfb58e75e6ce8f664b9ead08c6d3da7488398fc

Thanks for reporting

/klacke


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Wed Mar 10, 2010 9:08 pm Reply with quote
Guest
2010/3/10 Claes Wikstrom <klacke@tail-f.com (klacke@tail-f.com)>
Quote:
Daniel Fahlke wrote:
Quote:
Hi, i have a Question to the log format.

In the man page to the config stands, that the "Common Log Format" is used.
Means that the format of apache(because it is so popular)?




Yes,

Quote:
I ask, because i wanted to use an log analyzer, but it only find invalid entries.


Which analyzer, I've used several different ananlyzers on the yaws logs
over the years.

Quote:

After comparing yaws access log and apache access log i find, that there is a little difference.

this is a yaws entry:

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum