diff --git a/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobOrganizer.java b/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobOrganizer.java index fa550f77c..7e48865f7 100644 --- a/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobOrganizer.java +++ b/rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/azure/AzureBlobOrganizer.java @@ -32,13 +32,13 @@ private void deleteOldBlobsFromToday(String testType, ZoneId timeZone) { LocalDate.now(timeZone).format(DateTimeFormatter.ofPattern("yyyy/MM/dd")) + "/" + testType; - System.out.println("Checking folder: " + prefix); + logger.logInfo("Checking folder: " + prefix); for (BlobItem blobItem : blobContainerClient.listBlobsByHierarchy(prefix)) { - System.out.println("Deleting blob: " + blobItem.getName()); + logger.logInfo("Deleting blob: " + blobItem.getName()); blobContainerClient.getBlobClient(blobItem.getName()).delete(); } - System.out.println("End of checking folder: " + prefix); + logger.logInfo("End of checking folder: " + prefix); } // Organize blob into folder structure: YEAR/MONTH/DAY/Assertion_OR_GoldenCopy/SOURCE_NAME