开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜