diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java index 21784340257e..1fd238ac3ffc 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java @@ -169,7 +169,7 @@ public class FSRecords implements Disposable, Forceable { } if (myRecords.getInt(HEADER_CONNECTION_STATUS_OFFSET) != SAFELY_CLOSED_MAGIC) { - throw new IOException("FS repostiory wasn't safely shut down"); + throw new IOException("FS repository wasn't safely shut down"); } markDirty(); } @@ -217,6 +217,7 @@ public class FSRecords implements Disposable, Forceable { } private static void invalidateIndex() { + LOG.info("Marking VFS as corrupted"); FileUtil.createIfDoesntExist(new File(PathManager.getIndexRoot(), "corruption.marker")); } diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFS.java b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFS.java index 161eedfccbd1..5b3a4b87baeb 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFS.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFS.java @@ -65,7 +65,9 @@ public class PersistentFS extends ManagingFS implements ApplicationComponent { */ ShutDownTracker.getInstance().registerShutdownTask(new Runnable() { public void run() { + LOG.info("VFS dispose started"); myRecords.dispose(); + LOG.info("VFS dispose completed"); } }); }