aboutsummaryrefslogtreecommitdiffstats
path: root/src/InotifyQueue.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/InotifyQueue.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/InotifyQueue.cxx b/src/InotifyQueue.cxx
index 419135dae..28b60ebee 100644
--- a/src/InotifyQueue.cxx
+++ b/src/InotifyQueue.cxx
@@ -19,16 +19,13 @@
#include "config.h"
#include "InotifyQueue.hxx"
+#include "InotifyDomain.hxx"
#include "UpdateGlue.hxx"
#include "event/Loop.hxx"
-
-#include <glib.h>
+#include "Log.hxx"
#include <string.h>
-#undef G_LOG_DOMAIN
-#define G_LOG_DOMAIN "inotify"
-
enum {
/**
* Wait this long after the last change before calling
@@ -53,7 +50,8 @@ InotifyQueue::OnTimeout()
return;
}
- g_debug("updating '%s' job=%u", uri_utf8, id);
+ FormatDebug(inotify_domain, "updating '%s' job=%u",
+ uri_utf8, id);
queue.pop_front();
}