From c34e38bcdc0460219d19b21ca7a0554adf7f7f84 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 28 Nov 2012 13:00:36 -0800 Subject: log: 10,000 recent log entries This is what we were (wrongly) doing before, so there are no memory utilization surprises. Signed-off-by: Sage Weil (cherry picked from commit 78286b1403a5e0f14f95fe6b92f2fdb163e909f1) --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index c6dccaa3332..c3d8c2c9d06 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -32,7 +32,7 @@ OPTION(max_open_files, OPT_LONGLONG, 0) OPTION(log_file, OPT_STR, "/var/log/ceph/$cluster-$name.log") OPTION(log_max_new, OPT_INT, 1000) -OPTION(log_max_recent, OPT_INT, 1000000) +OPTION(log_max_recent, OPT_INT, 100000) OPTION(log_to_stderr, OPT_BOOL, true) OPTION(err_to_stderr, OPT_BOOL, true) OPTION(log_to_syslog, OPT_BOOL, false) -- cgit v1.2.1