Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padrino is trying to log to a location within the app directory #13

Closed
jpburton opened this issue Dec 3, 2014 · 1 comment
Closed

Comments

@jpburton
Copy link

jpburton commented Dec 3, 2014

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.

@bethesque
Copy link
Member

Released in 1.3.2.rc1.

@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.

catks pushed a commit to toptal/pact_broker that referenced this issue Aug 7, 2023
…loggingverbosity

Set the default logging verbosity to WARN
catks pushed a commit to toptal/pact_broker that referenced this issue Aug 7, 2023
…/bundler/pact_broker/puma-3.12.2

chore(deps): bump puma from 3.12.1 to 3.12.2 in /pact_broker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants