From: Seena Fallah Date: Fri, 12 Apr 2024 19:59:41 +0000 (+0200) Subject: rgw: increase log level on abort_early X-Git-Tag: v20.0.0~2138^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F56866%2Fhead;p=ceph.git rgw: increase log level on abort_early The function is typically invoked on client errors like NoSuchBucket. Logging these errors with level 1 may initially suggest a significant issue, when in fact it's just a client error. Consider raising the logging level to 20 for better clarity. Fixes: https://tracker.ceph.com/issues/65469 Signed-off-by: Seena Fallah --- diff --git a/src/rgw/rgw_rest.cc b/src/rgw/rgw_rest.cc index 020309038eb3..3a0652e82e2c 100644 --- a/src/rgw/rgw_rest.cc +++ b/src/rgw/rgw_rest.cc @@ -679,13 +679,13 @@ void abort_early(req_state *s, RGWOp* op, int err_no, if (op != NULL) { int new_err_no; new_err_no = op->error_handler(err_no, &error_content, y); - ldpp_dout(s, 1) << "op->ERRORHANDLER: err_no=" << err_no + ldpp_dout(s, 20) << "op->ERRORHANDLER: err_no=" << err_no << " new_err_no=" << new_err_no << dendl; err_no = new_err_no; } else if (handler != NULL) { int new_err_no; new_err_no = handler->error_handler(err_no, &error_content, y); - ldpp_dout(s, 1) << "handler->ERRORHANDLER: err_no=" << err_no + ldpp_dout(s, 20) << "handler->ERRORHANDLER: err_no=" << err_no << " new_err_no=" << new_err_no << dendl; err_no = new_err_no; }