summaryrefslogtreecommitdiffstats
path: root/src/mon/MonitorDBStore.h
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-05-06 23:13:50 +0200
committerSage Weil <sage@inktank.com>2013-05-06 23:13:50 +0200
commitc1d5f815546b731e10bfcb81cbcd48b7d432e9c4 (patch)
tree82084db02d6492b1499f0cf5eea4272c9432d850 /src/mon/MonitorDBStore.h
parentdoc: Update the usage to reflect optional directory name. (diff)
downloadceph-c1d5f815546b731e10bfcb81cbcd48b7d432e9c4.tar.xz
ceph-c1d5f815546b731e10bfcb81cbcd48b7d432e9c4.zip
mon: allow leveldb logging
'mon leveldb log = filename' Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/mon/MonitorDBStore.h')
-rw-r--r--src/mon/MonitorDBStore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mon/MonitorDBStore.h b/src/mon/MonitorDBStore.h
index 9dc255c7ba7..a138670df67 100644
--- a/src/mon/MonitorDBStore.h
+++ b/src/mon/MonitorDBStore.h
@@ -511,6 +511,7 @@ class MonitorDBStore
db->options.compression_enabled = g_conf->mon_leveldb_compression;
db->options.max_open_files = g_conf->mon_leveldb_max_open_files;
db->options.paranoid_checks = g_conf->mon_leveldb_paranoid;
+ db->options.log_file = g_conf->mon_leveldb_log;
}
MonitorDBStore(LevelDBStore *db_ptr) {
db.reset(db_ptr);