Welcome! Log In Create A New Profile

Advanced

vhost error_log ignored with passenger

March 02, 2012 03:17PM
I'm using passenger and seeing that stdout & stderr are going to nginx's default error log, rather than what's specified in the server { error_log ... } directive. Is this a known bug in nginx or passenger?

server {
listen 8082;
access_log logs/ruby-access.log main;
error_log logs/ruby-error.log; ## nothing in here from ruby's $std{out,err}!
root /Users/paulm/Code/nginx/public;
location / {
passenger_enabled on;
}
}


Here's all the code & config; it's a trivial Sinatra server: https://gist.github.com/1960979

Phusion Passenger from here: http://www.modrails.com/install.html (seems to install nginx 1.0.10)

(The workaround is to File#reopen in config.ru but I'd like to avoid this, if possible.)

Many thanks!

Paul
SubjectAuthorPosted

vhost error_log ignored with passenger

tantrixMarch 02, 2012 03:17PM

Re: vhost error_log ignored with passenger

auxbussMarch 11, 2012 11:20AM

Re: vhost error_log ignored with passenger

auxbussMarch 11, 2012 12:33PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 5 on May 22, 2013
Record Number of Guests: 150 on May 22, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready