From 3589a379f0274c4c2abf683f6c5c69c7fa70b187 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 6 Jun 2011 03:22:00 +0000 Subject: protocol/client: Change log level of error to GF_LOG_ERROR Signed-off-by: Pranith Kumar K Signed-off-by: Anand Avati BUG: 2986 (Failed operations should should be logged `E' or `W') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2986 --- xlators/protocol/client/src/client3_1-fops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c index f1f6bd0a4..4195811f7 100644 --- a/xlators/protocol/client/src/client3_1-fops.c +++ b/xlators/protocol/client/src/client3_1-fops.c @@ -228,7 +228,7 @@ client3_1_mknod_cbk (struct rpc_req *req, struct iovec *iov, int count, out: frame->local = NULL; if (rsp.op_ret == -1) { - gf_log (this->name, GF_LOG_INFO, "remote operation failed: %s", + gf_log (this->name, GF_LOG_ERROR, "remote operation failed: %s", strerror (gf_error_to_errno (rsp.op_errno))); } STACK_UNWIND_STRICT (mknod, frame, rsp.op_ret, -- cgit