]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
log: drop default 'log max recent' from 100k -> 10k
authorSage Weil <sage@inktank.com>
Mon, 11 Mar 2013 23:25:16 +0000 (16:25 -0700)
committerSage Weil <sage@inktank.com>
Mon, 11 Mar 2013 23:25:16 +0000 (16:25 -0700)
Use less memory.

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

index 03c2283badad6f3f242cdad07b1bab17979d1d78..616d73dcf681a9cd85a1d3dd884b6e3489fd99f8 100644 (file)
@@ -33,7 +33,7 @@ OPTION(fatal_signal_handlers, OPT_BOOL, true)
 
 OPTION(log_file, OPT_STR, "/var/log/ceph/$cluster-$name.log") // default changed by common_preinit()
 OPTION(log_max_new, OPT_INT, 1000) // default changed by common_preinit()
-OPTION(log_max_recent, OPT_INT, 100000) // default changed by common_preinit()
+OPTION(log_max_recent, OPT_INT, 10000) // default changed by common_preinit()
 OPTION(log_to_stderr, OPT_BOOL, true) // default changed by common_preinit()
 OPTION(err_to_stderr, OPT_BOOL, true) // default changed by common_preinit()
 OPTION(log_to_syslog, OPT_BOOL, false)