Phusion Passenger doesn't write log files
I have installed phussion passenger on osx followin开发者_JAVA技巧g this guide from apple. I also used the PassengerPane to configure it.
It works, but it doesn't write anything to development.log. It's not a permissions problem.
Do you have any idea why?
OK, I found it.
Logging wasn't working because of these lines in application.rb:
config.logger = Logger.new(STDOUT)
config.log_level = :info
These were required for using Heroku's logging, but not anymore.
Passenger runs on production by default. Check production.log, you should see content there.
精彩评论