diff --git a/src/main/java/engineering/swat/watch/impl/overflows/BaseFileVisitor.java b/src/main/java/engineering/swat/watch/impl/overflows/BaseFileVisitor.java index e3233ebe..4884873e 100644 --- a/src/main/java/engineering/swat/watch/impl/overflows/BaseFileVisitor.java +++ b/src/main/java/engineering/swat/watch/impl/overflows/BaseFileVisitor.java @@ -65,7 +65,7 @@ public void walkFileTree() { try { Files.walkFileTree(path, options, maxDepth, this); } catch (IOException e) { - logger.error("Could not walk: {} ({})", path, e); + logger.debug("Overflow rescanner could not walk: {} ({})", path, e); } } @@ -73,14 +73,14 @@ public void walkFileTree() { @Override public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException { - logger.error("Could not walk regular file: {} ({})", file, exc); + logger.debug("Overflow rescanner could not walk regular file: {} ({})", file, exc); return FileVisitResult.CONTINUE; } @Override public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException { if (exc != null) { - logger.error("Could not walk directory: {} ({})", dir, exc); + logger.debug("Overflow rescanner could not walk directory: {} ({})", dir, exc); } return FileVisitResult.CONTINUE; }