3 messages in ru.sysoev.nginxRe: access log missing info
FromSent OnAttachments
Mark FosterJun 26, 2008 11:34 am 
Igor SysoevJun 26, 2008 12:08 pm 
Mark FosterJun 26, 2008 12:34 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: access log missing infoActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jun 26, 2008 12:08:53 pm
List:ru.sysoev.nginx

On Thu, Jun 26, 2008 at 11:34:53AM -0700, Mark Foster wrote:

We are running nginx/0.6.24 on FreeBSD 6.2

The access log is not showing the client IPs as it should. Instead we see something like this: - - - [26/Jun/2008:11:32:14 -0700] "GET /schee/s20/ HTTP/1.1" 200 17995 "-" "Baiduspider+(+http://help.baidu.jp/system/05.html)" - - - [26/Jun/2008:11:32:14 -0700] "GET /rss/user/dansherman HTTP/1.1" 200 298 " -" "Mozilla/5.0 (compatible; FriendFeedBot/0.1; +Http://friendfeed.com/about/bot)" ...and... - - - [26/Jun/2008:11:34:19 -0700] "GET /" 301 185 "-" "-"

It seems to have gotten worse over time. When it started (weeks ago) only some of the requests were missing first 3 fields (instead showing dashes), now it is every request.

Do you use set_real_ip_from directive ?