Skip to content
Snippets Groups Projects
Commit dc20dd27 authored by David's avatar David
Browse files

aiionx_sidekiq_log_patch

parent a1497ba3
No related branches found
No related tags found
1 merge request!3735Log sidekiq arguments as json
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment