From fe652450ac33adc4bb15a487eff24d7b5120e1a2 Mon Sep 17 00:00:00 2001 From: Keuin Date: Mon, 31 May 2021 10:32:02 +0800 Subject: fix IncrementalBackupStorageManager spamming the log with new copied file names. --- .../backup/incremental/manager/IncrementalBackupStorageManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/keuin/kbackupfabric/backup/incremental/manager') diff --git a/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java b/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java index bea326f..b18c119 100644 --- a/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java +++ b/src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java @@ -84,7 +84,7 @@ public class IncrementalBackupStorageManager { final long fileBytes = FilesystemUtil.getFileSizeBytes(copySourceFile.getAbsolutePath()); if (!contains(entry.getValue())) { // element does not exist. copy. - logger.info("Copy new file `" + copySourceFile.getName() + "`."); + logger.fine("Copy new file `" + copySourceFile.getName() + "`."); Files.copy(copySourceFile.toPath(), copyDestination.toPath()); copyCount = copyCount.addWith(new IncCopyResult(1, 1, fileBytes, fileBytes)); } else { -- cgit v1.2.3