From 0542e9996d4e70b08f5acead58d9d7b20179b184 Mon Sep 17 00:00:00 2001 From: "J. Eric Ivancich" Date: Tue, 28 Jun 2022 09:52:49 -0400 Subject: [PATCH] rgw: reduce logging level in rgw_bucket_complete_op 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 --- src/cls/rgw/cls_rgw.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc index 5cef58e62ca20..e440b73ecec25 100644 --- a/src/cls/rgw/cls_rgw.cc +++ b/src/cls/rgw/cls_rgw.cc @@ -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) { -- 2.39.5