aiionx_sidekiq_log_patch
This commit is contained in:
parent
a1497ba39c
commit
dc20dd275f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue