From: Arthur Outhenin-Chalandre Date: Fri, 23 Jul 2021 07:27:00 +0000 (+0200) Subject: osd: log snaptrim message to dout X-Git-Tag: v17.1.0~1299^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e2b2faef11c18df6c2f1f083d32d279e51b63e82;p=ceph-ci.git osd: log snaptrim message to dout This log message is not an error and is done on every tick of the snaptrim process. Replace the derr logging to dout(10) to not log it by default. Fixes: https://tracker.ceph.com/issues/51799 Signed-off-by: Arthur Outhenin-Chalandre --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index c91ddf92f9e..ac631a7f1f5 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -4809,7 +4809,7 @@ int PrimaryLogPG::trim_object( ctx->mtime, 0) ); - derr << "removing snap head" << dendl; + dout(10) << "removing snap head" << dendl; object_info_t& oi = head_obc->obs.oi; ctx->delta_stats.num_objects--; if (oi.is_dirty()) {