Hello,

Log plugin version during startup.

--
Petr^2 Spacek
From ab91b26ee8ede6b2909f8dd8b305ed960752c55e Mon Sep 17 00:00:00 2001
From: Petr Spacek <pspa...@redhat.com>
Date: Tue, 26 Mar 2013 15:43:52 +0100
Subject: [PATCH] Log plugin version during startup.

Signed-off-by: Petr Spacek <pspa...@redhat.com>
---
 src/zone_manager.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/zone_manager.c b/src/zone_manager.c
index c19c3b6c91ff8114fcb15eacba0f74ec46047986..c0006237ffbec8bf08caaa2e729c2808be65cf75 100644
--- a/src/zone_manager.c
+++ b/src/zone_manager.c
@@ -32,6 +32,7 @@
 
 #include <string.h>
 
+#include "config.h"
 #include "ldap_convert.h"
 #include "ldap_helper.h"
 #include "log.h"
@@ -61,6 +62,9 @@ initialize_manager(void)
 {
 	INIT_LIST(instance_list);
 	isc_mutex_init(&instance_list_lock);
+	log_info("bind-dyndb-ldap version " VERSION
+		 " compiled at " __TIME__ " " __DATE__
+		 ", compiler " __VERSION__);
 }
 
 void
-- 
1.7.11.7

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to