summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c
diff options
context:
space:
mode:
authorNandaja Varma <nandaja.varma@gmail.com>2015-03-05 13:41:10 +0530
committerKaushal M <kaushal@redhat.com>2015-05-04 22:14:29 -0700
commit6d7428d2018c061ca2791443bd90980f9755ded3 (patch)
tree9d705ed391ab0e546528b21a2c48c1f0a7df9d2f /xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c
parente6f2472d2434ab43a30720ef4de2e0abc0a3f4ac (diff)
mgmt/glusterd: Porting messages to new logging framework
Change-Id: I25f3536446798ea1cffd6b5dfbb3d2398766fcf3 BUG: 1194640 Signed-off-by: Nandaja Varma <nandaja.varma@gmail.com> Reviewed-on: http://review.gluster.org/9808 Tested-by: NetBSD Build System Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Avra Sengupta <asengupt@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c b/xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c
index 662aba6e724..da8c909a14b 100644
--- a/xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c
+++ b/xlators/mgmt/glusterd/src/glusterd-conn-mgmt.c
@@ -14,6 +14,7 @@
#include "glusterd-conn-mgmt.h"
#include "glusterd-conn-helper.h"
#include "glusterd-utils.h"
+#include "glusterd-messages.h"
int
glusterd_conn_init (glusterd_conn_t *conn, char *sockpath,
@@ -30,7 +31,8 @@ glusterd_conn_init (glusterd_conn_t *conn, char *sockpath,
svc = glusterd_conn_get_svc_object (conn);
if (!svc) {
- gf_log (this->name, GF_LOG_ERROR, "Failed to get the service");
+ gf_msg (this->name, GF_LOG_ERROR, 0,
+ GD_MSG_SVC_GET_FAIL, "Failed to get the service");
goto out;
}