[corosync] [PATCH] ipc: make less noise

Fabio M. Di Nitto fdinitto at redhat.com
Fri Dec 23 04:58:28 GMT 2011


From: "Fabio M. Di Nitto" <fdinitto at redhat.com>

switch from LOG_INFO to LOG_DEBUG for some basic operations

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 exec/ipc_glue.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/exec/ipc_glue.c b/exec/ipc_glue.c
index 6dadcd5..4d40a08 100644
--- a/exec/ipc_glue.c
+++ b/exec/ipc_glue.c
@@ -303,7 +303,7 @@ static void cs_ipcs_connection_created(qb_ipcs_connection_t *c)
 	int set_client_pid = 0;
 	int set_proc_name = 0;
 
-	log_printf(LOG_INFO, "%s() new connection", __func__);
+	log_printf(LOG_DEBUG, "%s() new connection", __func__);
 
 	service = qb_ipcs_service_id_get(c);
 
@@ -413,7 +413,7 @@ static void cs_ipcs_connection_destroyed (qb_ipcs_connection_t *c)
 	struct list_head *list, *list_next;
 	struct outq_item *outq_item;
 
-	log_printf(LOG_INFO, "%s() ", __func__);
+	log_printf(LOG_DEBUG, "%s() ", __func__);
 
 	context = qb_ipcs_context_get(c);
 	if (context) {
@@ -440,7 +440,7 @@ static int32_t cs_ipcs_connection_closed (qb_ipcs_connection_t *c)
 	const char *key_name;
 	struct cs_ipcs_conn_context *cnx;
 
-	log_printf(LOG_INFO, "%s() ", __func__);
+	log_printf(LOG_DEBUG, "%s() ", __func__);
 	res = ais_service[service]->lib_exit_fn(c);
 	if (res != 0) {
 		return res;
-- 
1.7.7.3



More information about the discuss mailing list