From a7d5a9fede4bd4bc5d9bf2a36fad2a9826596ce9 Mon Sep 17 00:00:00 2001 From: Adam Rodrigues Date: Wed, 27 Mar 2024 23:41:35 -0400 Subject: [PATCH] Update log level --- lib/que/job_methods.rb | 4 ++-- lib/que/worker.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/que/job_methods.rb b/lib/que/job_methods.rb index c7d5d991..7bb99042 100644 --- a/lib/que/job_methods.rb +++ b/lib/que/job_methods.rb @@ -41,7 +41,7 @@ module JobMethods # ActiveJob. def _run(args: nil, kwargs: nil, reraise_errors: false) Que.log( - level: :debug, + level: :info, event: :entering_run, job_id: que_target.que_attrs[:id], message: 'Entering _run', @@ -56,7 +56,7 @@ def _run(args: nil, kwargs: nil, reraise_errors: false) end Que.log( - level: :debug, + level: :info, event: :run_args, job_id: que_target.que_attrs[:id], args: args, diff --git a/lib/que/worker.rb b/lib/que/worker.rb index 4c8a6918..8e89b734 100644 --- a/lib/que/worker.rb +++ b/lib/que/worker.rb @@ -171,7 +171,7 @@ def work_job(metajob) end rescue Exception => error Que.log( - level: :debug, + level: :info, event: :mysterious_job_errored, job_id: metajob.id, error: {