From 4daede79f578cccd340210752f912e685b1ff03d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 28 Nov 2012 12:59:43 -0800 Subject: [PATCH] log: fix log_max_recent config Signed-off-by: Sage Weil (cherry picked from commit 4de7748b72d4f90eb1197a70015c199c15203354) --- src/common/ceph_context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/ceph_context.cc b/src/common/ceph_context.cc index 6bbf2d21072c2..d104ce2ff1b05 100644 --- a/src/common/ceph_context.cc +++ b/src/common/ceph_context.cc @@ -139,7 +139,7 @@ public: } if (changed.count("log_max_recent")) { - log->set_max_new(conf->log_max_recent); + log->set_max_recent(conf->log_max_recent); } } }; -- 2.39.5