summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-sm.c
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2014-05-03 12:52:44 +0530
committerKaushal M <kaushal@redhat.com>2014-05-06 21:48:03 -0700
commit199435aac3be170f6dadd4e88a576cec808ee419 (patch)
tree6537e12769485fb489af0a53c0629fe92acbaa82 /xlators/mgmt/glusterd/src/glusterd-sm.c
parent451246a58dbbc1ec777f379a6b779be374379abd (diff)
glusterd : Port glusterd sync log messages to gf_msg API
Change-Id: Ic3ed2c96d8fc3a15fedaa80517a2c79c0c858963 BUG: 1075611 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: http://review.gluster.org/7652 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-sm.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-sm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-sm.c b/xlators/mgmt/glusterd/src/glusterd-sm.c
index e6ad3433543..6dc35109d85 100644
--- a/xlators/mgmt/glusterd/src/glusterd-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-sm.c
@@ -26,6 +26,7 @@
#include "call-stub.h"
#include "defaults.h"
#include "list.h"
+#include "glusterd-messages.h"
#include "dict.h"
#include "compat.h"
#include "compat-errno.h"
@@ -618,7 +619,8 @@ glusterd_ac_friend_remove (glusterd_friend_sm_event_t *event, void *ctx)
ret = glusterd_friend_remove_cleanup_vols (event->peerinfo->uuid);
if (ret)
- gf_log (THIS->name, GF_LOG_WARNING, "Volumes cleanup failed");
+ gf_msg (THIS->name, GF_LOG_WARNING, 0, GD_MSG_VOL_CLEANUP_FAIL,
+ "Volumes cleanup failed");
ret = glusterd_friend_cleanup (event->peerinfo);
if (ret) {