summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/defaults.c
diff options
context:
space:
mode:
authorMohamed Ashiq <ashiq333@gmail.com>2015-05-19 15:40:30 +0530
committerNiels de Vos <ndevos@redhat.com>2015-07-13 06:10:58 -0700
commit1e4cc18362df17f87001ec42605b51daf251e0db (patch)
tree3e948e6a44979b7316b73a8f931e7e537716bf03 /libglusterfs/src/defaults.c
parent0497fb6090d1ed34ac1bdcaaff49847025d13e9e (diff)
defaults,globals,iobuf,latency,logging,options,xlator/libglusterfs : porting to a new logging framework
Backport of http://review.gluster.org/10826 Cherry picked from ef374774b8727b2f76915a1f88b26c83c77dde43 >Change-Id: If6a55186cddc3d1c4d22e3d56b45358b84feeb49 >BUG: 1194640 >Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com> >Reviewed-on: http://review.gluster.org/10826 >Tested-by: NetBSD Build System <jenkins@build.gluster.org> >Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Change-Id: If6a55186cddc3d1c4d22e3d56b45358b84feeb49 BUG: 1217722 Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com> Reviewed-on: http://review.gluster.org/11405 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'libglusterfs/src/defaults.c')
-rw-r--r--libglusterfs/src/defaults.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/libglusterfs/src/defaults.c b/libglusterfs/src/defaults.c
index 1414da90731..b617c43b1e2 100644
--- a/libglusterfs/src/defaults.c
+++ b/libglusterfs/src/defaults.c
@@ -27,6 +27,7 @@
#include "xlator.h"
#include "defaults.h"
+#include "libglusterfs-messages.h"
/* FAILURE_CBK function section */
@@ -2196,7 +2197,8 @@ default_ipc (call_frame_t *frame, xlator_t *this, int32_t op, dict_t *xdata)
int32_t
default_forget (xlator_t *this, inode_t *inode)
{
- gf_log_callingfn (this->name, GF_LOG_WARNING, "xlator does not "
+ gf_msg_callingfn (this->name, GF_LOG_WARNING, 0,
+ LG_MSG_XLATOR_DOES_NOT_IMPLEMENT, "xlator does not "
"implement forget_cbk");
return 0;
}
@@ -2205,7 +2207,8 @@ default_forget (xlator_t *this, inode_t *inode)
int32_t
default_releasedir (xlator_t *this, fd_t *fd)
{
- gf_log_callingfn (this->name, GF_LOG_WARNING, "xlator does not "
+ gf_msg_callingfn (this->name, GF_LOG_WARNING, 0,
+ LG_MSG_XLATOR_DOES_NOT_IMPLEMENT, "xlator does not "
"implement releasedir_cbk");
return 0;
}
@@ -2213,7 +2216,8 @@ default_releasedir (xlator_t *this, fd_t *fd)
int32_t
default_release (xlator_t *this, fd_t *fd)
{
- gf_log_callingfn (this->name, GF_LOG_WARNING, "xlator does not "
+ gf_msg_callingfn (this->name, GF_LOG_WARNING, 0,
+ LG_MSG_XLATOR_DOES_NOT_IMPLEMENT, "xlator does not "
"implement release_cbk");
return 0;
}