Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is a log file of passenger

My rails application doesn't response for the address I configured in nginx (No data response. Error 324 (net::ERR_EMPTY_RESPONSE)). Now I'm trying to figure out what the problem could be. Nginx log has per request:

libc++abi.dylib: terminate called throwing an exception 2013/10/21 15:15:30 [alert] 54636#0: worker process 54723 exited on signal 6

If I look into application log - there is no changes, looks, like passenger didn't request something from the app. So I though about another log files, where I could gather some information.

Where does passenger locate its log file?

Is there any special? Or does passenger use one of the application logs?

like image 884
static Avatar asked Oct 21 '13 13:10

static


3 Answers

In Linux, you can find your log files under

/var/log/nginx/access.log
/var/log/nginx/error.log
like image 102
usha Avatar answered Nov 04 '22 12:11

usha


Old question, just for the records:

By default Passenger log messages are written to the Nginx global error log.

This exert comes from a recent version. It may not apply before Passenger 5.0.5.

like image 1
Eric Platon Avatar answered Nov 04 '22 14:11

Eric Platon


i got passenger error log from /tmp folder(error log in .html format), and i used scp command to copy to my local machine from server

like image 1
Jose Kj Avatar answered Nov 04 '22 13:11

Jose Kj