Martin Petrov
Martin Petrov

Reputation: 2643

Phusion Passenger doesn't write log files

I have installed phussion passenger on osx following 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?

Upvotes: 1

Views: 5213

Answers (2)

Martin Petrov
Martin Petrov

Reputation: 2643

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.

Upvotes: 1

Spyros
Spyros

Reputation: 48706

Passenger runs on production by default. Check production.log, you should see content there.

Upvotes: 0

Related Questions