diff options
author | Keuin <[email protected]> | 2021-05-31 10:32:02 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2021-05-31 10:32:02 +0800 |
commit | fe652450ac33adc4bb15a487eff24d7b5120e1a2 (patch) | |
tree | 3329bb2063115b3052932f364327b5cea4263561 | |
parent | e11c593c7d21d9602fb951f32f6ced8b30a86254 (diff) |
fix IncrementalBackupStorageManager spamming the log with new copied file names.
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/backup/incremental/manager/IncrementalBackupStorageManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |