From: Seena Fallah Date: Fri, 12 Apr 2024 19:59:41 +0000 (+0200) Subject: rgw: increase log level on abort_early X-Git-Tag: v18.2.5~131^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1062e224a63f9f80bf3059632dd07a5c1ba3e6ad;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 (cherry picked from commit 302e3c459acdffe51fb73e902f2b3c828faa23e0) --- diff --git a/src/rgw/rgw_rest.cc b/src/rgw/rgw_rest.cc index acf0ad9f8889..433194a1c720 100644 --- a/src/rgw/rgw_rest.cc +++ b/src/rgw/rgw_rest.cc @@ -658,13 +658,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; }