production.log empty on Rails 4 / Capistrano / Passenger / Nginx server (digital ocean)
logging, nginx, ruby-on-rails, ruby-on-rails-4, ubuntu
Solution
The culprit was Heroku's rails_12factor gem
Removing that gem from the Gemfile, now the logs are working as expected.
# group :production do
# gem 'rails_12factor'
# end
Problem
I have set up a rails 4 server on Ubuntu 12.04 using Capistrano, Nginx, Passenger, Postgres, Redis/Resque Everything is working great, except that the production.log file is always empty. I have tried a variety of configuration changes in production.rb to no avail. It's definitely not a permissions issue, as the permissions on both the log dir and each of the logs are wide open (777) Can anyone hep me figure out how to get basic logging working?