From 080875bfce15a741ff2dce4868939f47e66f1be0 Mon Sep 17 00:00:00 2001 From: Olivier Date: Fri, 8 Jul 2022 15:26:45 +0100 Subject: [PATCH] Add debug log for not descending --- datman/src/tree.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/datman/src/tree.rs b/datman/src/tree.rs index 9409b38..e8ae5eb 100644 --- a/datman/src/tree.rs +++ b/datman/src/tree.rs @@ -24,7 +24,7 @@ use std::path::{Path, PathBuf}; use anyhow::anyhow; use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle}; -use log::{info, warn}; +use log::{debug, info, warn}; use serde::{Deserialize, Serialize}; pub use yama::definitions::FilesystemOwnership; @@ -241,6 +241,7 @@ pub fn scan_with_progress_bar( ) -> anyhow::Result>> { if exclusions.contains(path) { // Don't enter excluded paths. + debug!("Not descending into excluded path: {:?}", path); return Ok(None); }