Heroku Magazine for Resque Worker

I am using Heroku + RedisToGo + Resque. I have a worker who performs an endless task. I would like to have a journal of his activities. heroku logs --tail information about employee activities is not displayed. How can I achieve this? Thanks!

+7
source share
2 answers

Heroku writes everything written to a standard or standard error. Therefore, a simple puts statement should do the trick.

+1
source

Try adding something like Rails.logger.info("I am done doing stuff!") Inside your Resque worker #perform .

0
source

All Articles