[tracker/volume-mountpoints: 1/9] tracker-miner-fs: Improve logs
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/volume-mountpoints: 1/9] tracker-miner-fs: Improve logs
- Date: Fri, 16 Jul 2010 10:46:21 +0000 (UTC)
commit 22e22d333d63e377515efaeaf00413f131d2158d
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Jul 15 09:43:53 2010 +0200
tracker-miner-fs: Improve logs
src/miners/fs/tracker-miner-files.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 36e01f3..3eb611f 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -671,12 +671,13 @@ set_up_mount_point (TrackerMinerFiles *miner,
{
GString *queries;
- g_debug ("Mount point state being set in DB for URN '%s'",
- removable_device_urn);
-
queries = g_string_new (NULL);
if (mounted) {
+ g_debug ("Mount point state (MOUNTED) being set in DB for URN '%s' (mount_point: %s)",
+ removable_device_urn,
+ mount_point ? mount_point : "unknown");
+
if (mount_point) {
GFile *file;
gchar *uri;
@@ -722,6 +723,9 @@ set_up_mount_point (TrackerMinerFiles *miner,
} else {
gchar *now;
+ g_debug ("Mount point state (UNMOUNTED) being set in DB for URN '%s'",
+ removable_device_urn);
+
now = tracker_date_to_string (time (NULL));
g_string_append_printf (queries,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]