resque-pool icon indicating copy to clipboard operation
resque-pool copied to clipboard

syslog support

Open nevans opened this issue 13 years ago • 2 comments

nevans avatar Apr 05 '11 21:04 nevans

shouldn't be hard at all. see Heroku's blog post: Logs are Streams, Not Files

nevans avatar Apr 05 '11 21:04 nevans

I know this is an old issue, but wanted to add syslog support to resque-pool, but then I realized I probably didn't need to, I can handle it in the init script (with bash). Though it does mean I have to background the command instead of using --daemonize:

bundle exec resque-pool \
  --pidfile $PIDFILE \
  > >(logger -p user.info -t "$NAME") \
  2> >(logger -p user.warn -t "$NAME") &

Maybe this is just adding this to the init scripts examples or mentioning it in the readme.

benprew avatar Sep 14 '16 18:09 benprew