aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-05-20 14:08:38 -0500
committerToby Vincent <tobyv13@gmail.com>2023-05-20 15:01:14 -0500
commit52a871a60f33f908f8cb9599e068d026a694524d (patch)
tree11545d82a5f9869c1c89f4c9016ec467fab8b9ac
parent31f93b63ab0eb7bbc25fc4556ac9fa235714787b (diff)
fix: fix logging level of ignored file
-rw-r--r--CHANGELOG.md4
-rw-r--r--src/search.rs2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5075a5e..9facd98 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,10 @@ and this project adheres to
## [Unreleased]
+### Fixed
+
+- Fixed error message when ignoring file in a directory
+
## 0.3.0 - 2023-04-20
### Added
diff --git a/src/search.rs b/src/search.rs
index a7e6315..cf01681 100644
--- a/src/search.rs
+++ b/src/search.rs
@@ -33,7 +33,7 @@ impl Search {
None
}
Ok(p) if p.is_file() => {
- tracing::error!(?p, "Ignoring file");
+ tracing::debug!(?p, "Ignoring file");
None
}
Ok(p) => Some(p),