Absolutely. Was just thinking about that. I’d like to see a log item on enqueue as well:

  Active Job enqueued MyJob: { “param1”, “param2” }

Want to take a stab at that?

On May 20, 2014, at 12:38 PM, Cristian Bica <notifications@github.com> wrote:

> In lib/active_job/queue_adapters/inline_adapter.rb:
> 
> > @@ -5,7 +5,20 @@ class << self
> >          def queue(job, *args)
> >            job.new.perform *Parameters.deserialize(args)
> >          end
> > +
> > +        def queue_at(job, ts, *args)
> > +          # TODO better error handling?
> > +          Thread.new do
> > +            begin
> > +              interval = Time.now.to_f - ts
> > +              sleep(interval) if interval > 0
> > +              job.new.perform *Parameters.deserialize(args)
> > +            rescue => ex
> > +              puts ex.message
> We should have a ActionJob::Base.logger same as ActiveRecord/ActionMailer/etc and use it to log this kind of messages
> 
> —
> Reply to this email directly or view it on GitHub.
>