You'll probably want to use this with the heroku-buildpack-multi features on heroku:
heroku buildpacks:add --index 1 https://github.com/zombor/heroku-oklog-buildpack --app <your-app>
Then redeploy your app.
oklog will be available in your
You can use this in your
web: <your-app> 2>&1 | tee >(oklog forward $OKLOG_HOST)
$OKLOG_HOST above as a config var set with
heroku config. This kind of
Procfile will output to both your STDOUT as well as your oklog forwarder which means your
heroku logs will still work.
Copy the snippet above into CLI.