From 226afe98e01f91df7c918b7726f25db038f8cca7 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 15 Dec 2022 11:33:10 +0100 Subject: [PATCH] :lipstick: Change worker logging --- backend/src/app/worker.clj | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/src/app/worker.clj b/backend/src/app/worker.clj index 9adaa7ee1..900988a7a 100644 --- a/backend/src/app/worker.clj +++ b/backend/src/app/worker.clj @@ -217,7 +217,7 @@ (l/debug :hist "dispatcher: queue tasks" :queue queue :tasks (count ids) - :total-queued res))) + :queued res))) (run-batch! [rconn] (db/with-atomic [conn pool] @@ -446,10 +446,11 @@ :else (try (l/debug :hint "worker: executing task" + :name (:name task) + :id (:id task) + :queue queue :worker-id worker-id - :task-id (:id task) - :task-name (:name task) - :task-retry (:retry-num task)) + :retry (:retry-num task)) (handle-task task) (catch InterruptedException cause (throw cause))