diff --git a/lib/core/libimagstore/src/file_abstraction/fs.rs b/lib/core/libimagstore/src/file_abstraction/fs.rs index 0a4fecda..f68d2aa1 100644 --- a/lib/core/libimagstore/src/file_abstraction/fs.rs +++ b/lib/core/libimagstore/src/file_abstraction/fs.rs @@ -182,7 +182,9 @@ impl PathIterBuilder for WalkDirPathIterBuilder { } fn in_collection(&mut self, c: &str) { + debug!("Altering PathIterBuilder path with: {:?}", c); self.basepath.push(c); + debug!(" -> path : {:?}", self.basepath); } } diff --git a/lib/core/libimagstore/src/file_abstraction/inmemory.rs b/lib/core/libimagstore/src/file_abstraction/inmemory.rs index 66655be6..292aea15 100644 --- a/lib/core/libimagstore/src/file_abstraction/inmemory.rs +++ b/lib/core/libimagstore/src/file_abstraction/inmemory.rs @@ -211,7 +211,9 @@ impl PathIterBuilder for InMemPathIterBuilder { } fn in_collection(&mut self, c: &str) { + debug!("Altering PathIterBuilder path with: {:?}", c); self.0.retain(|p| p.starts_with(c)); + debug!(" -> path : {:?}", self.0); } } diff --git a/lib/domain/libimagcontact/src/contact.rs b/lib/domain/libimagcontact/src/contact.rs index 69273c52..e5fb8851 100644 --- a/lib/domain/libimagcontact/src/contact.rs +++ b/lib/domain/libimagcontact/src/contact.rs @@ -52,6 +52,7 @@ impl Contact for Entry { } fn deser(&self) -> Result { + trace!("Reading header of {:?}", self.get_location()); let data = self .get_header() .read("contact.data")?