Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku log for Resque worker

I'm using Heroku + RedisToGo + Resque. I have a worker which is running a non-ending task. I'd like to have a log of its activities. heroku logs --tail doesn't show any information regarding the worker activities. How can I achieve this? Thanks!

like image 258
sauronnikko Avatar asked Apr 11 '12 19:04

sauronnikko


1 Answers

Heroku logs anything written to standard out or standard error. So a simple puts statement should do the trick.

like image 75
trliner Avatar answered Nov 10 '22 22:11

trliner