summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src
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-28 19:24:41 -0700
commit5364a02d2dbb116952086958010ec508956b259b (patch)
tree0d2ffbd1e80cc32f98b1e4b07d2e5bb04ff5d287 /xlators/protocol/server/src
parentbef714fa854536bf4a40d9d83a11945cb21248cb (diff)
protocol/client,server: Move EEXIST logs in mkdir and mknod to DEBUG level
Backport of: http://review.gluster.org/10791 Change-Id: I096296f0b97f62f49577ca698ae34e28cce4a4b4 BUG: 1225919 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/10973 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/protocol/server/src')
-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 c69b17fd255..df5811659a8 100644
--- a/xlators/protocol/server/src/server-rpc-fops.c
+++ b/xlators/protocol/server/src/server-rpc-fops.c
@@ -468,7 +468,7 @@ server_mkdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
state = CALL_STATE (frame);
if (op_ret < 0) {
- gf_log (this->name, GF_LOG_INFO,
+ gf_log (this->name, fop_log_level (GF_FOP_MKDIR, op_errno),
"%"PRId64": MKDIR %s (%s/%s) ==> (%s)",
frame->root->unique, state->loc.path,
uuid_utoa (state->resolve.pargfid),
@@ -515,7 +515,7 @@ server_mknod_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
state = CALL_STATE (frame);
if (op_ret < 0) {
- gf_log (this->name, GF_LOG_INFO,
+ gf_log (this->name, fop_log_level (GF_FOP_MKNOD, op_errno),
"%"PRId64": MKNOD %s (%s/%s) ==> (%s)",
frame->root->unique, state->loc.path,
uuid_utoa (state->resolve.pargfid),