title: Where is my Rails log file after deployed to VPS using Capistrano
body: <p>I have deploy my Rails app to a VPS (Nginx + Unicorn + Postgres) using Capistrano 3, but I got an error page "we're sorry, but something went wrong." And I can't find my Rails log file, I uncommented this line in the deploy.rb, and still cannot find it.</p>
  
  <pre><code>set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}
  </code></pre>
  
  <p>There are log files in my current/log directory and shared/log/, but they don't get updated when I refresh my error page.</p>
  
  <p>Any idea?</p>
  
  <p>Thanks</p>