[tracker/tracker-0.8] libtracker-miner: Improve logs
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] libtracker-miner: Improve logs
- Date: Thu, 19 Aug 2010 16:13:01 +0000 (UTC)
commit 5b025f511c277d3ecbbe7634285901c0f3e81ab8
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Aug 5 16:35:44 2010 +0200
libtracker-miner: Improve logs
src/libtracker-miner/tracker-miner-fs.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 34e7e96..2cdd6df 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1470,6 +1470,21 @@ item_add_or_update (TrackerMinerFS *fs,
}
parent_urn = fs->private->current_iri_cache_parent_urn;
+
+ /* Check if we are trying to update/create a file where its parent still
+ * doesn't exist */
+ if (parent && !parent_urn) {
+ gchar *uri;
+ gchar *parent_uri;
+
+ uri = g_file_get_uri (file);
+ parent_uri = g_file_get_uri (parent);
+ g_debug ("Adding to process item '%s' where parent '%s' still "
+ "doesn't exist in store...", uri, parent_uri);
+ g_free (uri);
+ g_free (parent_uri);
+ }
+
g_object_unref (parent);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]