[tracker/miner-fs-dbus-api: 17/22] tracker-miner-fs: Added debugging to know what file is requested to be indexed



commit 7d88ee6444e7f521c052876c079623a8b123096e
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Aug 24 15:58:22 2010 +0100

    tracker-miner-fs: Added debugging to know what file is requested to be indexed

 src/miners/fs/tracker-miner-files-index.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files-index.c b/src/miners/fs/tracker-miner-files-index.c
index c56a022..01e4394 100644
--- a/src/miners/fs/tracker-miner-files-index.c
+++ b/src/miners/fs/tracker-miner-files-index.c
@@ -231,7 +231,9 @@ tracker_miner_files_index_reindex_mime_types (TrackerMinerFilesIndex  *object,
 	len = g_strv_length (mime_types);
 	tracker_dbus_async_return_if_fail (len > 0, context);
 
-	tracker_dbus_request_new (request_id, context, "%s()", __FUNCTION__);
+	tracker_dbus_request_new (request_id, context, "%s(%d mime types)",
+	                          __FUNCTION__,
+	                          len);
 
 	connection = tracker_sparql_connection_get (&inner_error);
 
@@ -299,7 +301,7 @@ tracker_miner_files_index_index_file (TrackerMinerFilesIndex  *object,
 	tracker_dbus_async_return_if_fail (file_uri != NULL, context);
 
 	request_id = tracker_dbus_get_next_request_id ();
-	tracker_dbus_request_new (request_id, context, "%s()", __FUNCTION__);
+	tracker_dbus_request_new (request_id, context, "%s(uri:'%s')", __FUNCTION__, file_uri);
 
 	priv = TRACKER_MINER_FILES_INDEX_GET_PRIVATE (object);
 	file = g_file_new_for_uri (file_uri);



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