]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
log: 10,000 recent log entries
authorSage Weil <sage@inktank.com>
Wed, 28 Nov 2012 21:00:36 +0000 (13:00 -0800)
committerSage Weil <sage@inktank.com>
Wed, 28 Nov 2012 21:00:36 +0000 (13:00 -0800)
This is what we were (wrongly) doing before, so there are no memory
utilization surprises.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h

index e2a29fca5095fdd145bea46a45e850293aa1bcdb..291fef401995485ef97e012074a28ff9804dcd87 100644 (file)
@@ -33,7 +33,7 @@ OPTION(fatal_signal_handlers, OPT_BOOL, true)
 
 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)