resque-pool
resque-pool copied to clipboard
syslog support
shouldn't be hard at all. see Heroku's blog post: Logs are Streams, Not Files
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.