Fixing capfile and logging for production.rb