Skip to content

Commit

Permalink
switch println to logger
Browse files Browse the repository at this point in the history
Co-authored-by: saquino0827 <[email protected]>
  • Loading branch information
pluckyswan and saquino0827 committed Jan 15, 2025
1 parent ab36748 commit 0608498
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0608498

Please sign in to comment.