aiionx_sidekiq_log_patch

This commit is contained in:
David 2016-04-15 02:18:46 +00:00
parent a1497ba39c
commit dc20dd275f
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ module Gitlab
module SidekiqMiddleware
class ArgumentsLogger
def call(worker, job, queue)
Sidekiq.logger.info "arguments: #{job['args']}"
Sidekiq.logger.info "arguments: #{JSON.dump(job['args'])}"
yield
end
end