summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-06-06 03:10:38 +0000
committerAnand Avati <avati@gluster.com>2011-06-08 03:02:56 -0700
commitc997393c8a546e28648d56d2e86651f4bb4b38d8 (patch)
treed341e4f32fd9ed191f4c8392e90a3f523d30ebcd
parent1c034335054090c7dd967ea21a234c1dd8e78c9c (diff)
protocol/client: Change log level of error to GF_LOG_ERROR
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2986 (Failed operations should should be logged `E' or `W') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2986
-rw-r--r--xlators/protocol/client/src/client3_1-fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c
index 80281bca0..e6d7e60c2 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,