]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: reduce logging level in rgw_bucket_complete_op 46881/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 28 Jun 2022 13:52:49 +0000 (09:52 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 28 Jun 2022 18:14:08 +0000 (14:14 -0400)
There are two instances where pedestrian logging happens at level 0
but should be at a much higher level, such as 20. Both are fixed.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/cls/rgw/cls_rgw.cc

index 5cef58e62ca209d6b0f2f5176cdae32ad4ac6168..e440b73ecec25e1a86cb30020d656086d9382faa 100644 (file)
@@ -1146,7 +1146,7 @@ int rgw_bucket_complete_op(cls_method_context_t hctx, bufferlist *in, bufferlist
                   __func__, op.tag.c_str());
       return -EINVAL;
     }
-    CLS_LOG_BITX(bitx_inst, 1,
+    CLS_LOG_BITX(bitx_inst, 20,
                 "INFO: %s: removing tag %s from pending map",
                   __func__, op.tag.c_str());
     entry.pending_map.erase(pinter);
@@ -1287,7 +1287,7 @@ int rgw_bucket_complete_op(cls_method_context_t hctx, bufferlist *in, bufferlist
     }
   } // remove loop
 
-  CLS_LOG_BITX(bitx_inst, 0,
+  CLS_LOG_BITX(bitx_inst, 20,
               "INFO: %s: writing bucket header", __func__);
   rc = write_bucket_header(hctx, &header);
   if (rc < 0) {