[tracker-miners/sam/music: 1/2] Improve debug log



commit 9eaacaab6777d49efc3f4e1c89a41a51be54adae
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Jul 1 12:48:17 2020 +0200

    Improve debug log

 src/miners/fs/tracker-extract-watchdog.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/miners/fs/tracker-extract-watchdog.c b/src/miners/fs/tracker-extract-watchdog.c
index e6dd88421..7d05d8608 100644
--- a/src/miners/fs/tracker-extract-watchdog.c
+++ b/src/miners/fs/tracker-extract-watchdog.c
@@ -99,15 +99,15 @@ extract_watchdog_start (TrackerExtractWatchdog *watchdog,
        const gchar *domain_name = watchdog->domain;
        gchar *tracker_extract_dbus_name;
 
-       g_debug ("Setting up watch on tracker-extract (autostart: %s)",
-                autostart ? "yes" : "no");
-
        if (domain_name == NULL) {
                tracker_extract_dbus_name = g_strdup (TRACKER_MINER_DBUS_NAME_PREFIX "Extract");
        } else {
                tracker_extract_dbus_name = g_strconcat (domain_name, ".Tracker3.Miner.Extract", NULL);
        }
 
+       g_debug ("Setting up watch on tracker-extract at %s (autostart: %s)",
+                tracker_extract_dbus_name, autostart ? "yes" : "no");
+
        watchdog->extractor_watchdog_id =
                g_bus_watch_name (TRACKER_IPC_BUS,
                                  tracker_extract_dbus_name,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]