Skip to content

Commit

Permalink
DTSCCI-1282 LocationHelper updateCaseManagementLocation Change log le…
Browse files Browse the repository at this point in the history
…vel (#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 <[email protected]>
  • Loading branch information
anirudha-deshpande and comanirudha authored Dec 9, 2024
1 parent e83fb09 commit 041d56a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,10 @@ public Optional<LocationRefData> updateCaseManagementLocation(CaseData.CaseDataB
RequestedCourt requestedCourt,
Supplier<List<LocationRefData>> getLocations) {
Optional<LocationRefData> 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"
Expand Down

0 comments on commit 041d56a

Please sign in to comment.