librelist archives

« back to archive

sinatra app logging

sinatra app logging

From:
Adam J. Gamble
Date:
2013-11-28 @ 10:27
could not decode message

Re: [resque] sinatra app logging

From:
Steve Klabnik
Date:
2013-11-28 @ 16:30
Resque does this:
https://github.com/resque/resque/blob/master/lib/resque.rb#L468

You can write similar code to replace the logger with whatever kind of
logger you want.

Re: [resque] sinatra app logging

From:
Adam J. Gamble
Date:
2013-11-28 @ 16:33
could not decode message

Re: [resque] sinatra app logging

From:
Steve Klabnik
Date:
2013-11-28 @ 16:38
Any Ruby file that is going to execute. The job.rb seems fine.