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); }