[tracker/external-crawler: 12/37] libtracker-miner: Add log information about locations started in FileNotifier



commit bece37e5e0130f0c9ea6c859da7ff5124775ada8
Author: Martyn Russell <martyn lanedo com>
Date:   Fri May 9 15:19:54 2014 +0100

    libtracker-miner: Add log information about locations started in FileNotifier

 src/libtracker-miner/tracker-file-notifier.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-file-notifier.c b/src/libtracker-miner/tracker-file-notifier.c
index 2903718..722f369 100644
--- a/src/libtracker-miner/tracker-file-notifier.c
+++ b/src/libtracker-miner/tracker-file-notifier.c
@@ -813,6 +813,12 @@ crawl_directories_start (TrackerFileNotifier *notifier)
 
                if ((flags & TRACKER_DIRECTORY_FLAG_IGNORE) == 0 &&
                    crawl_directory_in_current_root (notifier)) {
+                       gchar *uri;
+
+                       uri = g_file_get_uri (directory);
+                       tracker_info ("Processing location: '%s'", uri);
+                       g_free (uri);
+
                        g_timer_reset (priv->timer);
                        g_signal_emit (notifier, signals[DIRECTORY_STARTED], 0, directory);
 


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