Child pages
  • Debugging file sync issues

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Locate the log directory (Help | Show Logs).
  2. Shut down the IDE.
  3. Delete everything from the log directory.
  4. Paste the following lines into bin/log.xml file above the "root" tag:

      <category name="#com.intellij.openapi.vfs.newvfs.RefreshSession">
        <priority value="TRACE"/>
      </category>
      <category name="#com.intellij.openapi.vfs.impl.local.NativeFileWatcherImpl">
        <priority value="TRACE"/>
      </category>
      <category name="#com.intellij.openapi.vfs.newvfs.persistent.RefreshWorker">
        <priority value="TRACE"/>
      </category>

  5. Start the IDE, open a project, switch from the IDE and make a change to a file or a directory, note a time.
  6. Switch back to the IDE, wait until syncing is finished, then archive everything from the log directory.

...