From 3db1a9ab2a1c2b1c8818a1ced9fd821b0e6873a4 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Sat, 10 May 2025 22:09:03 +0300 Subject: [PATCH] Update the format for sync workers' loggers. --- lib/decentralised_book_index/sync/sync_workers/sync_worker.ex | 2 +- .../sync/sync_workers/sync_worker_manual.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/decentralised_book_index/sync/sync_workers/sync_worker.ex b/lib/decentralised_book_index/sync/sync_workers/sync_worker.ex index 2a3063d..91e16b4 100644 --- a/lib/decentralised_book_index/sync/sync_workers/sync_worker.ex +++ b/lib/decentralised_book_index/sync/sync_workers/sync_worker.ex @@ -10,7 +10,7 @@ defmodule DecentralisedBookIndex.SyncWorker do @impl Oban.Worker def perform(%Oban.Job{args: args} = job) do - Logger.info("The cron job (#{job.id}) run SyncServerTask at #{DateTime.utc_now()} with args: #{inspect(args)}") + Logger.info("The cron job (#{job.id}) run SyncServerTask at #{DateTime.utc_now()} with args: #{inspect(args)}.") result = SyncServerTask.sync_all() diff --git a/lib/decentralised_book_index/sync/sync_workers/sync_worker_manual.ex b/lib/decentralised_book_index/sync/sync_workers/sync_worker_manual.ex index cd927da..94232d2 100644 --- a/lib/decentralised_book_index/sync/sync_workers/sync_worker_manual.ex +++ b/lib/decentralised_book_index/sync/sync_workers/sync_worker_manual.ex @@ -12,7 +12,7 @@ defmodule DecentralisedBookIndex.SyncWorkerManual do @impl Oban.Worker def perform(%Oban.Job{args: args} = job) do - Logger.info("The manual job (#{job.id}) run SyncServerTask at #{DateTime.utc_now()} with args: #{inspect(args)}") + Logger.info("The manual job (#{job.id}) run SyncServerTask at #{DateTime.utc_now()} with args: #{inspect(args)}.") result = SyncServerTask.sync_all()