summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-11-28 13:00:36 -0800
committerSage Weil <sage@inktank.com>2012-12-26 14:27:48 -0800
commitc34e38bcdc0460219d19b21ca7a0554adf7f7f84 (patch)
tree6915e200eb5a7f54612d6d31acc7f02ce88c8cfa
parent4daede79f578cccd340210752f912e685b1ff03d (diff)
downloadceph-c34e38bcdc0460219d19b21ca7a0554adf7f7f84.tar.gz
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 <sage@inktank.com> (cherry picked from commit 78286b1403a5e0f14f95fe6b92f2fdb163e909f1)
-rw-r--r--src/common/config_opts.h2
1 files changed, 1 insertions, 1 deletions
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)