L
L
linklee2016-02-18 22:55:09
Ruby on Rails
linklee, 2016-02-18 22:55:09

Where are the logs for a rails application?

I deployed my application to digital ocean using this tutorial
https://www.digitalocean.com/community/tutorials/h...
But it doesn't work. Writes the page is not available. Here you can see for yourself 162.243.132.186 Where can I
see the logs to understand what's wrong? rails application and wants to help me on Skype for a beer (well, that is, for example, for 500r - I don’t feel sorry) then write to Skype: mystery.nights )

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey P, 2016-02-19
@ruddy22

unicorn logs
#{Rails.root}/config/unicorn.rb
stderr_path "#{Rails.root}/log/unicorn_error_#{Rails.env}.log"
stdout_path "#{Rails.root}/log/unicorn_#{Rails .env}.log"
nginx logs
/var/log/nginx/access.log
/var/log/nginx/error.log
Application logs
#{Rails.root}/log/{development, test, production}.log
Like this if my memory serves me right

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question