From b288b8f8b6b1fa72890ca4662c3e425582c5ee88 Mon Sep 17 00:00:00 2001 From: mcmcphillips Date: Wed, 22 May 2024 11:15:30 -0700 Subject: [PATCH] MAT-6393: Remove duplicate logs --- .../java/gov/cms/madie/terminology/service/VsacService.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/gov/cms/madie/terminology/service/VsacService.java b/src/main/java/gov/cms/madie/terminology/service/VsacService.java index 26b654d..3d14b6d 100644 --- a/src/main/java/gov/cms/madie/terminology/service/VsacService.java +++ b/src/main/java/gov/cms/madie/terminology/service/VsacService.java @@ -122,7 +122,6 @@ public List validateCodes(List cqlCodes, UmlsUser umlsUser, St String codeId = cqlCode.getCodeId(); if (codeId == null || TerminologyServiceUtil.sanitizeInput(codeId).isBlank()) { log.info("Code id is not available for code {}", cqlCode.getName()); - log.debug("Code id is not available for code {}", cqlCode.getName()); cqlCode.setValid(false); cqlCode.setErrorMessage("Code Id is required"); } else if (!StringUtils.isBlank(codeSystemVersion)) { @@ -144,9 +143,6 @@ public List validateCodes(List cqlCodes, UmlsUser umlsUser, St } } else { // unidentified code system. - log.debug( - "No associated Code system found in code system entry json for {}", - cqlCode.getCodeSystem().getOid()); log.info( "No associated Code system found in code system entry json for {}", cqlCode.getCodeSystem().getOid()); @@ -155,7 +151,6 @@ public List validateCodes(List cqlCodes, UmlsUser umlsUser, St } } else { // if oid/url is not provided in cql, then the code system is considered invalid. - log.debug("CodeSystem {} does not contain any URL", cqlCode.getCodeSystem().getName()); log.info("CodeSystem {} does not contain any URL", cqlCode.getCodeSystem().getName()); cqlCode.getCodeSystem().setValid(false); cqlCode.getCodeSystem().setErrorMessage("Code system URL is required");