EA-37874 (cleaner diagnostic)

This commit is contained in:
Roman Shevchenko
2012-08-07 17:49:48 +04:00
parent cd30d29d48
commit 8736902cbd
2 changed files with 2 additions and 2 deletions
@@ -67,7 +67,7 @@ public class FileSystemUtil {
final boolean forceUseNio2 = SystemProperties.getBooleanProperty(FORCE_USE_NIO2_KEY, false);
if (!forceUseNio2) {
if (SystemInfo.isWindows) {
if (SystemInfo.isWindows && IdeaWin32.isAvailable()) {
try {
return check(new IdeaWin32MediatorImpl());
}
@@ -71,7 +71,7 @@ public class IdeaWin32 {
LOG.info("Native filesystem for Windows is operational");
}
catch (Throwable t) {
LOG.warn("Failed to initialize native filesystem for Windows", t);
LOG.error("Failed to initialize native filesystem for Windows", t);
}
}
ourInstance = instance;