11

I want to exec the sidekiq log file on my heroku environment but I cannot find anything in the documentation nor google helps me here. I am sure it has to be sth like exec sidekiq -L log/sidekiq.logbut that command fails on heroku. How can I access my sidekiq log file on a heroku environment?

DonMB
  • 2,550
  • 3
  • 28
  • 59

2 Answers2

14

The easiest way would be

heroku logs --tail --app app_name --dyno worker

This will only show worker logs.

javed.hussain
  • 141
  • 1
  • 2
11

I grabbed the worker logger on heroku

heroku logs -t -a eventbaxx-production | grep worker.1

so I could see sidekiq activity.

DonMB
  • 2,550
  • 3
  • 28
  • 59