summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/parameters.idl
diff options
context:
space:
mode:
authorIsabella Siu <isabella.siu@10gen.com>2018-12-12 13:08:10 -0500
committerIsabella Siu <isabella.siu@10gen.com>2018-12-17 17:14:01 -0500
commit0b24c853fde845bfc4e77354e3ba05ce1a445276 (patch)
treeabce6b13f7f96323f416ef02f5686076028eca32 /src/mongo/db/commands/parameters.idl
parent85df2fb7d78178adcb59bda8a5d0d57df139e314 (diff)
downloadmongo-0b24c853fde845bfc4e77354e3ba05ce1a445276.tar.gz
SERVER-38491 convert parameters in src/mongo/db/commands/parameters.cpp to IDL
Diffstat (limited to 'src/mongo/db/commands/parameters.idl')
-rw-r--r--src/mongo/db/commands/parameters.idl64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/mongo/db/commands/parameters.idl b/src/mongo/db/commands/parameters.idl
new file mode 100644
index 00000000000..0eb5c6e4afa
--- /dev/null
+++ b/src/mongo/db/commands/parameters.idl
@@ -0,0 +1,64 @@
+# Copyright (C) 2018-present MongoDB, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the Server Side Public License, version 1,
+# as published by MongoDB, Inc.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# Server Side Public License for more details.
+#
+# You should have received a copy of the Server Side Public License
+# along with this program. If not, see
+# <http://www.mongodb.com/licensing/server-side-public-license>.
+#
+# As a special exception, the copyright holders give permission to link the
+# code of portions of this program with the OpenSSL library under certain
+# conditions as described in each individual source file and distribute
+# linked combinations including the program with the OpenSSL library. You
+# must comply with the Server Side Public License in all respects for
+# all of the code used other than as permitted herein. If you modify file(s)
+# with this exception, you may extend this exception to your version of the
+# file(s), but you are not obligated to do so. If you do not wish to do so,
+# delete this exception statement from your version. If you delete this
+# exception statement from all source files in the program, then also delete
+# it in the license file.
+#
+
+global:
+ cpp_namespace: "mongo"
+ cpp_includes:
+ - "mongo/db/commands/parameters.h"
+
+server_parameters:
+ quiet:
+ description: "Sets quiet logging mode"
+ set_at: ["startup", "runtime"]
+ cpp_varname: "serverGlobalParams.quiet"
+
+ traceExceptions:
+ description: "Configures mongod to log full code stack traces for every database and socket C++ exception"
+ set_at: runtime
+ cpp_varname: "DBException::traceExceptions"
+
+ logLevel:
+ description: "Specifies the verbosity of logging"
+ set_at: ["startup", "runtime"]
+ append_bson: "appendLogLevelToBSON"
+ from_bson: "setLogLevelFromBSON"
+ from_string: "setLogLevelFromString"
+
+ logComponentVerbosity:
+ description: "Sets the verbosity levels of various components for log messages"
+ set_at: ["startup", "runtime"]
+ append_bson: "appendLogComponentVerbosityToBSON"
+ from_bson: "setLogComponentVerbosityFromBSON"
+ from_string: "setLogComponentVerbosityFromString"
+
+ automationServiceDescriptor:
+ description: "automationServiceDescriptor"
+ set_at: ["startup", "runtime"]
+ append_bson: "appendAutomationServiceDescriptorToBSON"
+ from_bson: "setAutomationServiceDescriptorFromBSON"
+ from_string: "setAutomationServiceDescriptorFromString" \ No newline at end of file