mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Prevent log output from mixing
This commit is contained in:
@@ -448,7 +448,12 @@ public class FileWatcher {
|
||||
kind = ChangeKind.valueOf(command);
|
||||
}
|
||||
catch (IllegalArgumentException e) {
|
||||
LOG.error("Illegal watcher command: " + command);
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Illegal watcher command: " + command);
|
||||
}
|
||||
else {
|
||||
LOG.error("Illegal watcher command: " + command);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user