[PATCH 3/7] tracker: update on debug traces
- From: llandwerlin gmail com
- To: grilo-list gnome org
- Subject: [PATCH 3/7] tracker: update on debug traces
- Date: Tue, 18 Jan 2011 18:31:57 +0000
From: Lionel Landwerlin <lionel g landwerlin linux intel com>
Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
src/tracker/grl-tracker.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/tracker/grl-tracker.c b/src/tracker/grl-tracker.c
index f4bb4c3..96a4b1a 100644
--- a/src/tracker/grl-tracker.c
+++ b/src/tracker/grl-tracker.c
@@ -135,7 +135,7 @@ grl_tracker_plugin_init (GrlPluginRegistry *registry,
{
GRL_LOG_DOMAIN_INIT (tracker_log_domain, "tracker");
- GRL_DEBUG ("tracker_plugin_init");
+ GRL_DEBUG ("%s", __FUNCTION__);
tracker_sparql_connection_get_async (NULL,
(GAsyncReadyCallback) tracker_get_connection_cb,
@@ -152,7 +152,7 @@ GRL_PLUGIN_REGISTER (grl_tracker_plugin_init,
static GrlTrackerSource *
grl_tracker_source_new (TrackerSparqlConnection *connection)
{
- GRL_DEBUG ("grl_tracker_source_new");
+ GRL_DEBUG ("%s", __FUNCTION__);
return g_object_new (GRL_TRACKER_SOURCE_TYPE,
"source-id", SOURCE_ID,
@@ -459,7 +459,7 @@ grl_tracker_source_query (GrlMediaSource *source,
{
GError *error = NULL;
- GRL_DEBUG ("grl_tracker_source_query");
+ GRL_DEBUG ("%s", __FUNCTION__);
if (!qs->query || qs->query[0] == '\0') {
error = g_error_new_literal (GRL_CORE_ERROR,
@@ -468,6 +468,8 @@ grl_tracker_source_query (GrlMediaSource *source,
goto send_error;
}
+ GRL_DEBUG ("select : %s", qs->query);
+
do_tracker_query (source,
qs->query,
qs->callback,
--
1.7.2.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]