开发者

Phusion Passenger doesn't write log files

开发者 https://www.devze.com 2023-02-23 08:51 出处:网络
I have installed phussion passenger on osx followin开发者_JAVA技巧g this guide from apple. I also used the PassengerPane to configure it.

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

精彩评论

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

关注公众号