From 041d56ade968613afb38cee15d8087fe03b99ee1 Mon Sep 17 00:00:00 2001 From: Anirudha <67697720+anirudha-deshpande@users.noreply.github.com> Date: Mon, 9 Dec 2024 19:05:04 +0000 Subject: [PATCH] DTSCCI-1282 LocationHelper updateCaseManagementLocation Change log level (#5883) * DTSCCI-1282 LocationHelper:updateCaseManagementLocation:Change log level to info * DTSCCI-1282: log ccd reference number rather than legacy.Check info enabled --------- Co-authored-by: Anirudha --- .../uk/gov/hmcts/reform/civil/helpers/LocationHelper.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/uk/gov/hmcts/reform/civil/helpers/LocationHelper.java b/src/main/java/uk/gov/hmcts/reform/civil/helpers/LocationHelper.java index e59f1d21112..23a67f9f203 100644 --- a/src/main/java/uk/gov/hmcts/reform/civil/helpers/LocationHelper.java +++ b/src/main/java/uk/gov/hmcts/reform/civil/helpers/LocationHelper.java @@ -253,10 +253,10 @@ public Optional updateCaseManagementLocation(CaseData.CaseDataB RequestedCourt requestedCourt, Supplier> getLocations) { Optional matchingLocation = getMatching(getLocations.get(), requestedCourt); - if (log.isDebugEnabled()) { - String reference = updatedData.build().getLegacyCaseReference(); - log.debug("Case {}, requested court is {}", reference, requestedCourt != null ? "defined" : "undefined"); - log.debug( + Long reference = updatedData.build().getCcdCaseReference(); + if (log.isInfoEnabled()) { + log.info("Case {}, requested court is {}", reference, requestedCourt != null ? "defined" : "undefined"); + log.info( "Case {}, there {} a location matching to requested court", reference, matchingLocation.isPresent() ? "is" : "is not"