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

Oink not logging to STDOUT in Rails 4.1 app on Heroku #33

Open
mcoetzee opened this issue Aug 15, 2014 · 1 comment
Open

Oink not logging to STDOUT in Rails 4.1 app on Heroku #33

mcoetzee opened this issue Aug 15, 2014 · 1 comment

Comments

@mcoetzee
Copy link

We are using Rails 4.1.4 and currently can't get Oink to log to standard out in Heroku. Our setup:
Gemfile:

...
gem 'oink', '~> 0.10.1'
...

application.rb:

...
config.middleware.use Oink::Middleware, :logger => Hodel3000CompliantLogger.new(STDOUT)
...

If using Rails 4 the developers from Heroku suggests using the rails_stdout_logging gem which ensures that your logs will be sent to standard out. We are currently using this gem so I'm wondering whether it is stopping Oink from logging to standard out with the above setup?

Locally Oink is logging just fine.

P.S. I tried setting LOG_LEVEL to info without success

@ghost
Copy link

ghost commented Sep 9, 2014

also seeing this on Rails 4.1.1. Works in dev but not heroku. Will share anything I find

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

1 participant