You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In prod, Padrino is trying to open a log to a location within the app directory, e.g. Permission denied - /my_app_here/vendor/bundle/ruby/1.9.1/gems/pact_broker-1.3.1/lib/pact_broker/ui/controllers/log
This is because of the default log config: :production => { :log_level => :warn, :stream => :to_file }
(:to_file puts the logs under Padrino.root).
We can override this by configuring PADRINO_LOGGER = { :production => { :log_level => :warn, :stream => :null }} in config.ru in our app, but it'd be nice not to need to do this and have the gem take care of something like this for us.
The text was updated successfully, but these errors were encountered:
@jpburton This next release has a large number of migrations. I'd like to do a trial run on an export of the database (I've done one already, but it was on some old data). When I get back (I'm away next week) I'll try and do this and then we can remove the fix in the config.ru.
In prod, Padrino is trying to open a log to a location within the app directory, e.g.
Permission denied - /my_app_here/vendor/bundle/ruby/1.9.1/gems/pact_broker-1.3.1/lib/pact_broker/ui/controllers/log
This is because of the default log config:
:production => { :log_level => :warn, :stream => :to_file }
(:to_file puts the logs under
Padrino.root
).We can override this by configuring
PADRINO_LOGGER = { :production => { :log_level => :warn, :stream => :null }}
inconfig.ru
in our app, but it'd be nice not to need to do this and have the gem take care of something like this for us.The text was updated successfully, but these errors were encountered: