[tracker/tracker-0.6] Reduce unnecessary log messages on trackerd/tracker-extract start



commit a41eda10c93365885409aa92f8295ce5e00eb956
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Aug 20 17:25:59 2009 +0100

    Reduce unnecessary log messages on trackerd/tracker-extract start

 src/libtracker-common/tracker-config.c |    5 -----
 src/trackerd/tracker-main.c            |    4 ++--
 2 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/libtracker-common/tracker-config.c b/src/libtracker-common/tracker-config.c
index c0dfbf3..f2a900f 100644
--- a/src/libtracker-common/tracker-config.c
+++ b/src/libtracker-common/tracker-config.c
@@ -763,8 +763,6 @@ config_create_with_defaults (GKeyFile *key_file,
 
 	watch_directory_roots[0] = g_get_home_dir ();
 
-	g_message ("Loading defaults into GKeyFile...");
-
 	/* General */
 	if (overwrite || !g_key_file_has_key (key_file, GROUP_GENERAL, KEY_VERBOSITY, NULL)) {
 		g_key_file_set_integer (key_file, GROUP_GENERAL, KEY_VERBOSITY, 
@@ -1334,9 +1332,6 @@ config_load (TrackerConfig *config)
 	}
 
 	if (!priv->monitor) {
-		g_message ("Setting up monitor for changes to config file:'%s'",
-			   filename);
-
 		priv->monitor = g_file_monitor_file (priv->file,
 						     G_FILE_MONITOR_NONE,
 						     NULL,
diff --git a/src/trackerd/tracker-main.c b/src/trackerd/tracker-main.c
index f4d95dc..c110fab 100644
--- a/src/trackerd/tracker-main.c
+++ b/src/trackerd/tracker-main.c
@@ -495,10 +495,10 @@ initialize_directories (void)
 	 * tracker-db-manager does that for us.
 	 */
 
-	g_message ("Checking directory exists:'%s'", private->user_data_dir);
+	/* g_message ("Checking directory exists:'%s'", private->user_data_dir); */
 	g_mkdir_with_parents (private->user_data_dir, 00755);
 
-	g_message ("Checking directory exists:'%s'", private->data_dir);
+	/* g_message ("Checking directory exists:'%s'", private->data_dir); */
 	g_mkdir_with_parents (private->data_dir, 00755);
 
 	/* Remove old tracker dirs */



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