11

I have a Rails application running on CentOS with Apache/Passenger, and I have a little problem: I don't have any logs for my Rails Application, What am I missing?

This is my apache conf :

<VirtualHost *:80>
    ServerAdmin info@domain.com
    ServerName domain.com
    ServerAlias www.domain.com
    Include /home/ftpanel/conf/alias/domain.com.alias
    DocumentRoot /home/mgimmo/public_html/immo/public/

    #Configuration PHP
FastCgiExternalServer /home/mgimmo/ftpanel-config/php5.fpm -socket   /home/ftpanel/conf/sock/mgimmo.sock
    Alias /ftpanel-config/ /home/mgimmo/ftpanel-config/

    <Directory /home/mgimmo/public_html/immo/public/>
            Options -Indexes FollowSymLinks -MultiViews
            AllowOverride All
    </Directory>
    ServerSignature Off

Skyhawk
  • 14,149
  • 3
  • 52
  • 95
Awea
  • 225
  • 1
  • 3
  • 9
  • 1
    Your log should be `/home/mgimmo/public_html/immo/log/production.log`. Check if that is writeable by the web server user. – taro May 29 '12 at 19:24
  • I make a chown on the production.log and yeah it's work ! Why I didn't think that soon ... Can you make an answer then I give u some points :) – Awea May 30 '12 at 14:20

1 Answers1

8

Application logs are as usual in log directory under application's root.

In your case, full path is /home/mgimmo/public_html/immo/log/production.log

Make sure that file is writable by web server user.

taro
  • 193
  • 1
  • 8