diff options
author | Keith Bostic <keith@wiredtiger.com> | 2014-12-17 19:04:40 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2014-12-17 19:04:40 -0500 |
commit | 8211040ee256c0c589b23d557f2a9254820efa7d (patch) | |
tree | 802f13a146fc82d61314db6495b571bc17304c0a | |
parent | 5a8c516e06febf0f4fb4dd5cb3f49646bf8e0a36 (diff) | |
download | mongo-8211040ee256c0c589b23d557f2a9254820efa7d.tar.gz |
Clarify that setting statistics_log.wait to non-zero value starts the
statistics logging.
-rw-r--r-- | dist/api_data.py | 3 | ||||
-rw-r--r-- | src/include/wiredtiger.in | 11 |
2 files changed, 8 insertions, 6 deletions
diff --git a/dist/api_data.py b/dist/api_data.py index 8737c497140..50e242ffe27 100644 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -426,7 +426,8 @@ connection_runtime_config = [ a timestamp prepended to each log record, may contain strftime conversion specifications'''), Config('wait', '0', r''' - seconds to wait between each write of the log records''', + seconds to wait between each write of the log records; setting + this value above 0 configures statistics logging''', min='0', max='100000'), ]), Config('verbose', '', r''' diff --git a/src/include/wiredtiger.in b/src/include/wiredtiger.in index df2872dcb4d..c31b44e67b0 100644 --- a/src/include/wiredtiger.in +++ b/src/include/wiredtiger.in @@ -1600,8 +1600,8 @@ struct __wt_connection { * prepended to each log record\, may contain strftime conversion * specifications., a string; default \c "%b %d %H:%M:%S".} * @config{ wait, seconds to wait between each - * write of the log records., an integer between 0 and 100000; default - * \c 0.} + * write of the log records; setting this value above 0 configures + * statistics logging., an integer between 0 and 100000; default \c 0.} * @config{ ),,} * @config{verbose, enable messages for various events. Only available * if WiredTiger is configured with --enable-verbose. Options are given @@ -1979,9 +1979,10 @@ struct __wt_connection { * record\, may contain strftime conversion specifications., a string; default * \c "%b %d %H:%M:%S".} * @config{ wait, seconds to wait - * between each write of the log records., an integer between 0 and 100000; - * default \c 0.} - * @config{ ),,} + * between each write of the log records; setting this value above 0 configures + * statistics logging., an integer between 0 and 100000; default \c 0.} + * @config{ + * ),,} * @config{transaction_sync = (, how to sync log records when the transaction * commits., a set of related configuration options defined below.} * @config{ enabled, whether to sync the log on every |