]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cls/log/cls_log.cc: reduce logging noise 14879/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sat, 29 Apr 2017 11:36:07 +0000 (13:36 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Wed, 3 May 2017 16:07:23 +0000 (18:07 +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>
src/cls/log/cls_log.cc

index a53149ce3b3794af1e4479ff1b9d8f5359b2c045..70b9eb85165e7d23f430791a30ba6761c43296f1 100644 (file)
@@ -126,7 +126,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)