From 4e9f3a69f2105f1fa4fa06a74e9fd4e097d85109 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Wed, 11 Oct 2017 10:59:33 +0200 Subject: [PATCH] Cleanup (fixes log level; reverts accidental change) --- .../intellij/openapi/vfs/impl/local/LocalFileSystemBase.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java index 4eb1d8330a79..16f90592bc5b 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java @@ -78,7 +78,8 @@ public abstract class LocalFileSystemBase extends LocalFileSystem { if (SystemInfo.isUnix) { // avoid opening fifo files final FileAttributes attributes = FileSystemUtil.getAttributes(ioFile); if (attributes != null && !attributes.isFile()) { - throw new FileNotFoundException("Not a file: " + ioFile + "; type=" + attributes.type); + LOG.warn("not a file: " + ioFile + ", " + attributes); + throw new FileNotFoundException("Not a file: " + ioFile); } } @@ -754,7 +755,7 @@ public abstract class LocalFileSystemBase extends LocalFileSystem { finally { if (t != 0) { t = (System.nanoTime() - t) / 1000; - LOG.debug("getCanonicallyCasedName(" + file + "): " + t + " mks"); + LOG.trace("getCanonicallyCasedName(" + file + "): " + t + " mks"); } } }