Logging for IDEA-190987 Frequent long UI freezes in NativeFileWatcher after VCS updates

This commit is contained in:
Anton Makeev
2018-10-10 17:57:32 +02:00
parent 51981de830
commit 9c7d086138
@@ -220,6 +220,10 @@ public class NativeFileWatcherImpl extends PluggableFileWatcher {
return;
}
if (LOG.isDebugEnabled()) {
LOG.debug("New watch roots registered. Recursive: " + recursive.size() + ", flat: " + flat.size() + ", restart = " + restart);
}
mySettingRoots.incrementAndGet();
myRecursiveWatchRoots = recursive;
myFlatWatchRoots = flat;