Currently all errors in jobs are logged in ERROR log-level.
In our case we would like to reduce cases where an automatic retry might solve the issue without manual intervention to WARNING.
How are the chances that a PR making the level argument here configurable would be accepted?
|
job_say job, "FAILED (#{job.attempts} prior attempts) with #{error.class.name}: #{error.message}", 'error' |
Currently all errors in jobs are logged in
ERRORlog-level.In our case we would like to reduce cases where an automatic retry might solve the issue without manual intervention to
WARNING.How are the chances that a PR making the
levelargument here configurable would be accepted?delayed_job/lib/delayed/worker.rb
Line 305 in ea4879d