Skip to content

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

Description

@mcoetzee

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions