summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-05-13 14:25:44 +0200
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-05-27 22:40:36 -0700
commitf92a415dd4fdd34c97fa6af4af528e1b50a4265f (patch)
tree3c84efb3ff893611e68822dadb961e67b3372f8a /xlators/protocol/server
parent9e1bb640983f72858aeabd793bbb7fc8b5c71b09 (diff)
protocol/client,server: Move EEXIST logs in mkdir and mknod to DEBUG level
Change-Id: I0481258de8da36cbee7c046f53b20359badaf064 BUG: 1221889 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/10791 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/protocol/server')
-rw-r--r--xlators/protocol/server/src/server-rpc-fops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/protocol/server/src/server-rpc-fops.c b/xlators/protocol/server/src/server-rpc-fops.c
index ff3d2998aa7..99b801100f9 100644
--- a/xlators/protocol/server/src/server-rpc-fops.c
+++ b/xlators/protocol/server/src/server-rpc-fops.c
@@ -479,7 +479,7 @@ server_mkdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
state = CALL_STATE (frame);
if (op_ret < 0) {
- gf_msg (this->name, GF_LOG_INFO,
+ gf_msg (this->name, fop_log_level (GF_FOP_MKDIR, op_errno),
op_errno, PS_MSG_DIR_INFO,
"%"PRId64": MKDIR %s (%s/%s) ==> (%s)",
frame->root->unique, state->loc.path,
@@ -527,7 +527,7 @@ server_mknod_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
state = CALL_STATE (frame);
if (op_ret < 0) {
- gf_msg (this->name, GF_LOG_INFO,
+ gf_msg (this->name, fop_log_level (GF_FOP_MKNOD, op_errno),
op_errno, PS_MSG_MKNOD_INFO,
"%"PRId64": MKNOD %s (%s/%s) ==> (%s)",
frame->root->unique, state->loc.path,