diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-03-03 18:51:38 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-03-06 09:27:37 +0200 |
commit | 26366ac6e2624b0b9d855303796684bcb26eaef2 (patch) | |
tree | fb0b80638042828b1caa0490ee785152c2b30cf7 /src/policy.rs | |
parent | 0ee823e00a29ca15ac2699ec588f9c1ff2c7b04d (diff) | |
download | obnam2-26366ac6e2624b0b9d855303796684bcb26eaef2.tar.gz |
perf: reduce logging for, for performance
Sponsored-by: author
Diffstat (limited to 'src/policy.rs')
-rw-r--r-- | src/policy.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/policy.rs b/src/policy.rs index 7241f0f..bb98a48 100644 --- a/src/policy.rs +++ b/src/policy.rs @@ -3,7 +3,7 @@ use crate::backup_reason::Reason; use crate::fsentry::FilesystemEntry; use crate::generation::LocalGeneration; -use log::{debug, warn}; +use log::warn; /// Policy for what gets backed up. /// @@ -59,10 +59,6 @@ impl BackupPolicy { Reason::GenerationLookupError } }; - debug!( - "needs_backup: file {:?}: policy decision: {}", - new_name, reason - ); reason } } |