[tracker] libtracker-extract: Added some debugging to know what rules files are loaded



commit d80d6dab41ba339724b0485690cfe270b75d955f
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Aug 2 13:25:19 2011 +0100

    libtracker-extract: Added some debugging to know what rules files are loaded
    
    Useful to know how the module is decided in tracker-extract

 src/libtracker-extract/tracker-module-manager.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-module-manager.c b/src/libtracker-extract/tracker-module-manager.c
index 1adbaf8..eec07ea 100644
--- a/src/libtracker-extract/tracker-module-manager.c
+++ b/src/libtracker-extract/tracker-module-manager.c
@@ -131,7 +131,7 @@ tracker_extract_module_manager_init (void)
 		files = g_list_insert_sorted (files, (gpointer) name, (GCompareFunc) g_strcmp0);
 	}
 
-	g_message ("Loading extractor rules...");
+	g_message ("Loading extractor rules... (%s)", extractors_dir);
 
 	for (l = files; l; l = l->next) {
 		GKeyFile *key_file;
@@ -155,6 +155,8 @@ tracker_extract_module_manager_init (void)
 			continue;
 		}
 
+		g_debug ("  Loaded rule '%s'", name);
+
 		g_key_file_free (key_file);
 		g_free (path);
 	}



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