10 messages in ru.sysoev.nginxRe: Nginx not logging errors...
FromSent OnAttachments
X3 SphereFeb 3, 2009 7:37 pm 
Ilan BerknerFeb 3, 2009 7:51 pm 
X3 SphereFeb 3, 2009 8:35 pm 
Ilan BerknerFeb 3, 2009 8:58 pm 
X3 SphereFeb 3, 2009 9:30 pm 
X3 SphereFeb 3, 2009 11:00 pm 
Igor SysoevFeb 3, 2009 11:13 pm 
X3 SphereFeb 4, 2009 7:36 am 
X3 SphereFeb 4, 2009 9:32 am 
Igor SysoevFeb 4, 2009 11:54 am 
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: Nginx not logging errors...Actions...
From:X3 Sphere (lis@ruby-forum.com)
Date:Feb 3, 2009 11:00:24 pm
List:ru.sysoev.nginx

X3 Sphere wrote:

Ilan Berkner wrote:

I don't see an immediate issue with it, but I just don't think that Nginx is the problem in terms of php errors. What about permissions on the error directory?

The permissions are correct, I have both the access and error logs in the same directory. The access logs are being written to so no problem there.

Is there anything I should add to the FastCGI section in nginx.conf?

location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /srv/www/nginx/domain.com/http$fastcgi_script_name; include fastcgi_params; }

A follow-up to this.. the permissions were set incorrectly on my php.errors file, it now logs fine.

However.. all the errors used to show up in the nginx logs (useful as I was able to log errors on a per domain basis). I'm not sure why this behavior changed.