diff --git a/backend/resources/log4j2-devenv.xml b/backend/resources/log4j2-devenv.xml index 8c11428871..947d06e268 100644 --- a/backend/resources/log4j2-devenv.xml +++ b/backend/resources/log4j2-devenv.xml @@ -23,7 +23,7 @@ - + diff --git a/backend/src/app/rpc/commands/binfile.clj b/backend/src/app/rpc/commands/binfile.clj index bbcca6b88f..140d637f6b 100644 --- a/backend/src/app/rpc/commands/binfile.clj +++ b/backend/src/app/rpc/commands/binfile.clj @@ -773,7 +773,7 @@ (defn- lookup-index [id] (let [val (get-in @*state* [:index id])] - (l/debug :fn "lookup-index" :id id :val val ::l/sync? true) + (l/trc :fn "lookup-index" :id id :val val ::l/sync? true) (when (and (not (::ignore-index-errors? *options*)) (not val)) (ex/raise :type :validation :code :incomplete-index diff --git a/backend/src/app/worker.clj b/backend/src/app/worker.clj index 1c7bcfd1bc..8bafe3a8a6 100644 --- a/backend/src/app/worker.clj +++ b/backend/src/app/worker.clj @@ -207,10 +207,10 @@ (db/create-array conn "uuid" ids)]] (db/exec-one! conn sql) - (l/debug :hist "dispatcher: queue tasks" - :queue queue - :tasks (count ids) - :queued res))) + (l/dbg :hist "dispatcher: queue tasks" + :queue queue + :tasks (count ids) + :queued res))) (run-batch! [rconn] (try @@ -433,12 +433,12 @@ :else (try - (l/debug :hint "worker: executing task" - :name (:name task) - :id (:id task) - :queue queue - :worker-id worker-id - :retry (:retry-num task)) + (l/dbg :hint "worker: executing task" + :name (:name task) + :id (str (:id task)) + :queue queue + :worker-id worker-id + :retry (:retry-num task)) (handle-task task) (catch InterruptedException cause (throw cause)) @@ -678,13 +678,13 @@ (-> (db/exec-one! conn [sql:remove-not-started-tasks task queue label]) :next.jdbc/update-count))] - (l/debug :hint "submit task" - :name task - :queue queue - :label label - :dedupe (boolean dedupe) - :deleted (or deleted 0) - :in (dt/format-duration duration)) + (l/trc :hint "submit task" + :name task + :queue queue + :label label + :dedupe (boolean dedupe) + :deleted (or deleted 0) + :in (dt/format-duration duration)) (db/exec-one! conn [sql:insert-new-task id task props queue label priority max-retries interval])