Search code examples
macosruby-on-rails-3.1apache2

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?


Solution

  • in terminal, have you tried

    cat /var/log/apache2/error_log