From 76f90f184cf0ed975aed5f002031891f9e494da2 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 15 Oct 2015 21:58:09 +0200 Subject: [PATCH] Added extra logging for observer. --- .../java/com/nutomic/syncthingandroid/util/FolderObserver.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/nutomic/syncthingandroid/util/FolderObserver.java b/src/main/java/com/nutomic/syncthingandroid/util/FolderObserver.java index 94f57da5..ab527fd4 100644 --- a/src/main/java/com/nutomic/syncthingandroid/util/FolderObserver.java +++ b/src/main/java/com/nutomic/syncthingandroid/util/FolderObserver.java @@ -95,6 +95,8 @@ public class FolderObserver extends FileObserver { ? new File(mPath, path) : new File(mPath); + Log.v(TAG, "Received inotify event " + Integer.toHexString(event) + " at " + + fullPath.getAbsolutePath()); switch (event) { case MOVED_FROM: // fall through