summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker-quota.c
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2014-06-23 22:59:14 +0530
committerRaghavendra Bhat <raghavendra@redhat.com>2015-03-04 04:23:47 -0800
commit2d45a5557f9e6a797e39d3383d851e8812fa91c0 (patch)
treea94908a3094895439a8a9e2b2c2b51faefd58058 /xlators/features/marker/src/marker-quota.c
parentf396e475417aa52daf49e4564c67628cc8f0e598 (diff)
features/marker: log message clean up
1. Changed log messages to be more appropriate. 2. Changed loglevel of failures in fop_cbks to be recorded as TRACE. Logging of failures at higher loglevels is unessential in non-endpoint translators. 3. Removed a log message related to memory allocation failure. BUG: 1188066 Change-Id: I63c560c3bbd12706357fb3f696378c1a1e1efb44 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/8168 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-on: http://review.gluster.org/9525 Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/features/marker/src/marker-quota.c')
-rw-r--r--xlators/features/marker/src/marker-quota.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c
index 37c5cfa9225..b8d7a774377 100644
--- a/xlators/features/marker/src/marker-quota.c
+++ b/xlators/features/marker/src/marker-quota.c
@@ -557,7 +557,7 @@ mq_readdir_cbk (call_frame_t *frame,
local = mq_local_ref (frame->local);
if (op_ret == -1) {
- gf_log (this->name, GF_LOG_DEBUG,
+ gf_log (this->name, GF_LOG_TRACE,
"readdir failed %s", strerror (op_errno));
local->err = -1;
@@ -1295,9 +1295,8 @@ mq_get_parent_inode_local (xlator_t *this, quota_local_t *local)
local->ctx = ctx;
if (list_empty (&ctx->contribution_head)) {
- gf_log_callingfn (this->name, GF_LOG_WARNING,
- "contribution node list is empty which "
- "is an error");
+ gf_log_callingfn (this->name, GF_LOG_ERROR,
+ "contribution node list is empty");
ret = -1;
goto out;
}