]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: raise debug level of DatalogTrimImplCR message 37400/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 24 Sep 2020 18:02:30 +0000 (14:02 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 24 Sep 2020 18:02:32 +0000 (14:02 -0400)
the message was printed at level 0 even on success

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_trim_datalog.cc

index be84c136ec06e96bf5c7735c27927d30ed5c3258..62f6c07d17205ba8311869cd417fa69c0eb66a5d 100644 (file)
@@ -49,9 +49,8 @@ class DatalogTrimImplCR : public RGWSimpleCoroutine {
   }
   int request_complete() override {
     int r = cn->completion()->get_return_value();
-    ldout(cct, 0) << __PRETTY_FUNCTION__ << "(): trim of shard=" << shard
-                 << " marker=" << marker << "failed with r=" << r
-                 << ", " << cpp_strerror(r) << dendl;
+    ldout(cct, 20) << __PRETTY_FUNCTION__ << "(): trim of shard=" << shard
+                 << " marker=" << marker << " returned r=" << r << dendl;
 
     set_status() << "request complete; ret=" << r;
     if (r != -ENODATA) {