From a76dd4bb6c9c0fb04995a62fb9296c300b0fd598 Mon Sep 17 00:00:00 2001 From: This-Is-Ko <52279273+This-Is-Ko@users.noreply.github.com> Date: Mon, 23 Sep 2024 22:55:41 +1000 Subject: [PATCH] Additional logs --- src/main/java/com/ko/footballupdater/services/PlayerService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/ko/footballupdater/services/PlayerService.java b/src/main/java/com/ko/footballupdater/services/PlayerService.java index 7d2682f..4d382dd 100644 --- a/src/main/java/com/ko/footballupdater/services/PlayerService.java +++ b/src/main/java/com/ko/footballupdater/services/PlayerService.java @@ -197,6 +197,7 @@ public UpdatePlayersResponse updateDataForPlayers(List requestPlayersToU playersToUpdate.add(post.getPlayer()); } playerRepository.saveAll(playersToUpdate); + log.atInfo().setMessage("Updated player entries with latest data").log(); // Populate response response.setPlayersUpdated(playersToUpdate); response.setNumPlayersUpdated(playersToUpdate.size());