[FIX] Отключен лог DirWatcher

This commit is contained in:
Gravit 2019-03-12 17:31:19 +07:00
parent 1cc727239d
commit b16cd0cc67
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -122,7 +122,6 @@ private void processKey(WatchKey key) throws IOException {
// Resolve paths and verify is not exclusion
Path path = watchDir.resolve((Path) event.context());
Deque<String> stringPath = toPath(dir.relativize(path));
LogHelper.debug("DirWatcher event %s", String.join("/", stringPath));
if (matcher != null && !matcher.shouldVerify(stringPath))
continue; // Exclusion; should not be verified
// Verify is REALLY modified (not just attributes)