[Freeipa-devel] [PATCH 0131] Log plugin version during startup

Adam Tkac atkac at redhat.com
Tue Mar 26 14:47:52 UTC 2013


On Tue, Mar 26, 2013 at 03:45:02PM +0100, Petr Spacek wrote:
> Hello,
> 
> Log plugin version during startup.

Good idea, ack.

> From ab91b26ee8ede6b2909f8dd8b305ed960752c55e Mon Sep 17 00:00:00 2001
> From: Petr Spacek <pspacek at redhat.com>
> Date: Tue, 26 Mar 2013 15:43:52 +0100
> Subject: [PATCH] Log plugin version during startup.
> 
> Signed-off-by: Petr Spacek <pspacek at 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
> 


-- 
Adam Tkac, Red Hat, Inc.




More information about the Freeipa-devel mailing list