]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cls/log/cls_log.cc: reduce logging noise 15455/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sat, 29 Apr 2017 11:36:07 +0000 (13:36 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 19 Jun 2017 18:04:45 +0000 (20:04 +0200)
 - The other reference in the source as already at 20.
      ./src/cls/timeindex/cls_timeindex.cc:85:
CLS_LOG(20, "storing entry at %s", index.c_str());

   And we need not always know where in the log items are stored.
   So it looks like a leftover debug feature.

Fixes: http://tracker.ceph.com/issues/19835
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
(cherry picked from commit d76010900bf9012f2e66335787710531772766b7)

src/cls/log/cls_log.cc

index 89745bb8bb73a95703fb9a99b7390bd16244141f..b4ee089a1a90fcffe98279fe2f187ebcd4facea6 100644 (file)
@@ -132,7 +132,7 @@ static int cls_log_add(cls_method_context_t hctx, bufferlist *in, bufferlist *ou
       index = entry.id;
     }
 
-    CLS_LOG(0, "storing entry at %s", index.c_str());
+    CLS_LOG(20, "storing entry at %s", index.c_str());
 
 
     if (index > header.max_marker)