summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_extra_log_context.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2013-02-13 14:28:31 -0500
committerAndy Schwerin <schwerin@10gen.com>2013-02-15 11:33:38 -0500
commit31a2028d80848e1770bf91ced08bae9ca7139d58 (patch)
tree8dc81e94a7685c2c0d3931d7dc8026928729e94d /src/mongo/db/server_extra_log_context.cpp
parenta09abdaa6c93c50d3b58ee97597baff96e02475b (diff)
downloadmongo-31a2028d80848e1770bf91ced08bae9ca7139d58.tar.gz
SERVER-8087 Make it possible to declare startup-only and runtime-only server parameters.
Diffstat (limited to 'src/mongo/db/server_extra_log_context.cpp')
-rw-r--r--src/mongo/db/server_extra_log_context.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/server_extra_log_context.cpp b/src/mongo/db/server_extra_log_context.cpp
index 86c1cad0a0c..866ccc3ac06 100644
--- a/src/mongo/db/server_extra_log_context.cpp
+++ b/src/mongo/db/server_extra_log_context.cpp
@@ -28,10 +28,7 @@ namespace mongo {
namespace {
// Server parameter controlling whether or not user ids are included in log entries.
- //
- // TODO: Only really settable at startup. Changes at runtime won't change behavior; disable
- // them.
- MONGO_EXPORT_SERVER_PARAMETER(logUserIds, int, 0);
+ MONGO_EXPORT_STARTUP_SERVER_PARAMETER(logUserIds, bool, false);
/**
* Note: When appending new strings to the builder, make sure to pass false to the