Phusion Passenger Not Logging

I had problems starting and starting up Passenger in my Ubuntu 10.04 box (see https://stackoverflow.com/questions/9243272/passenger-ruby-on-rails-issues ).

I finally got it, but now the registration is not working. logs/production.log only sporadically receives notifications (and they are included in fragments), and /var/log/apache2/error.log only logs cache misses.

I set PassengerLogLevel to 2, but still don't get much information in the Apache error log.

What have I done wrong?

Thanks!

+4
source share
2 answers

Turns out this is a message issue in Rails 3.2.x

https://github.com/rails/rails/issues/4277

+2
source

Another possible solution is that the Passenger process does not have the right to write to your journal directory. If he cannot open these files for writing, you will see log messages in /var/log/apache2/error.log

At least that was the case in our case.

+2
source

Source: https://habr.com/ru/post/1396305/


All Articles