Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I access Apache error logs via the Terminal in Mac OS X 10.6.8?

I am having trouble with serving up my rails app on a remote computer after upgrading from Rails 3.0 to 3.1. So I want to take a look at what exactly is going wrong when Apache attempts to start up my app and it fails. How can I find the errors that Apache (or maybe Passenger?) is throwing via the Terminal?

like image 276
pitachip Avatar asked Dec 27 '12 19:12

pitachip


2 Answers

in terminal, have you tried

cat /var/log/apache2/error_log
like image 163
patrickmdnet Avatar answered Nov 20 '22 20:11

patrickmdnet


only to complemente the others answers, I'm using the version 10.9.3 and to me, the address is:

/private/var/log/apache2
like image 26
Maciel Escudero Bombonato Avatar answered Nov 20 '22 18:11

Maciel Escudero Bombonato