Skip to content

Commit

Permalink
fix #586 Watcher not valid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skybber committed Sep 13, 2024
1 parent bc3764e commit 24007fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private boolean processEvents() throws InterruptedException {
// reset key and remove from set if directory no longer accessible
boolean valid = key.reset();
if (!valid) {
LOGGER.warning("Watcher on {} not valid, removing path=", keys.get(key));
LOGGER.debug("Watcher on {} not valid, removing path=", keys.get(key));
keys.remove(key);
// all directories are inaccessible
if (keys.isEmpty()) {
Expand Down

0 comments on commit 24007fd

Please sign in to comment.