How about clarifying that with: `if logger.respond_to?(:tagged) && inline_adapter_already_tagged?`

On May 25, 2014, at 10:06 PM, Cristian Bica <notifications@github.com> wrote:

> In lib/active_job/logging.rb:
> 
> >        before_perform do |job|
> >          ActiveSupport::Notifications.instrument "perform.active_job",
> >            adapter: job.class.queue_adapter, job: job.class, args: job.arguments
> >        end
> > +
> > +    end
> > +
> > +    def tag_logs
> > +      if logger.respond_to?(:tagged) and !logger.formatter.current_tags.include?("ActiveJob")
> For inline adapter the perform log message will have 2 tags: 1 from enqueue and 1 from perform
> 
> —
> Reply to this email directly or view it on GitHub.
>