mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-04-28 12:50:53 +00:00
client: pxar: add debug output for exclude pattern matches
Log the path of directory entries matched by an exclude pattern in order to more conveniently debug possible issues. Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
7465ccd097
commit
76504bfcac
@ -635,7 +635,10 @@ impl Archiver {
|
||||
});
|
||||
|
||||
match match_result {
|
||||
Ok(Some(MatchType::Exclude)) => continue,
|
||||
Ok(Some(MatchType::Exclude)) => {
|
||||
log::debug!("matched by exclude pattern '{full_path:?}'");
|
||||
continue;
|
||||
}
|
||||
Ok(_) => (),
|
||||
Err(err) if err.not_found() => continue,
|
||||
Err(err) => {
|
||||
|
Loading…
Reference in New Issue
Block a user