Welcome Guest | Login

Production log not updating

It appears my production log is not updating. I go to the site and then check the log and it's still the same.

I think it might have something to do with my SVN. I forgot to exclude logs before committing some of my revisions.

I have since followed the wiki for excluding logs, but I am not sure where my current production.log activity is going to.

2008-06-16 12:41 PM

Hi Fountain,

It seems like your production log is updating fine. Please note that your domain is not pointing here, so please use the sneak peak to view the production log update. Could you please verify it from your end.

2008-06-16 01:37 PM

I cleared my log and pulled it down again. It was blank.

I went back to my site reloaded the page and pulled the log down it again. It was still blank.

Perhaps you can show me where the log is being updated. I'm currently looking at /<appname>/log/production.log

2008-06-16 02:06 PM

Hi Fountain,

Please tail your production log as shown below.

==
~/apps/<application>/current]# tail -f log/production.log

==

Since you have executed Capistrano deployment, your rails app will be in the location ~/apps/<application>/current.

2008-06-16 02:36 PM

Hello,

I'm having the same problem - my production log doessn't seem to be updating.  Please forgive me, I don't understand from what I see above what I should be doing differently.

In my case, support looked at my site a few days ago.  That visit DID get logged in the production log.  Nothing has been logged since then though.

Maybe I'm missing something in how I view the log too.  I'm using the ftp feature in cPanel to view the log.

Thanks.

2008-10-16 02:00 PM

Hi Btfrancis,

Please follow the given steps to view the messages that updating in the production log.

1) ssh into your account.

2) cd RailsAPP.

#Replace the RailsApp with the name of your application.

Execute the following command.

3) tail -f log/production.log

The command tail will show the last 10 lines of a file. The tail command with switch -f will show the recent additions made to the file.

2008-10-16 04:37 PM

Excellent.  Many thanks.

2008-10-17 10:26 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.