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"