[tracker] libtracker-common: Log binary name and version at beginning of log file



commit 8eb75d26daf4f379c78a17c8e52b5436551129a2
Author: Jürg Billeter <j bitron ch>
Date:   Tue Mar 2 16:27:22 2010 +0100

    libtracker-common: Log binary name and version at beginning of log file

 src/libtracker-common/tracker-log.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/tracker-log.c b/src/libtracker-common/tracker-log.c
index fce3ac0..71f7177 100644
--- a/src/libtracker-common/tracker-log.c
+++ b/src/libtracker-common/tracker-log.c
@@ -189,6 +189,9 @@ tracker_log_init (gint    this_verbosity,
 
 	initialized = TRUE;
 
+	/* log binary name and version */
+	g_message ("%s %s", g_get_application_name (), PACKAGE_VERSION);
+
 	return TRUE;
 }
 



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