Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
None
Description
Boolean options for the MongoDB configuration file list default values as True or False but mongod only parses true and false. I prefer that the manual get updated to change True/False to true/false to avoid confusion.
SeeĀ https://docs.mongodb.com/manual/reference/configuration-options/#systemlog-options
Steps to Reproduce
While taking m103 from MongoDB University start mongod with...
storage:
|
dbPath: "/var/mongodb/db"
|
systemLog:
|
path: "/var/mongodb/db/mongod.log"
|
destination: "file"
|
logAppend: True
|
net:
|
bindIp : "127.0.0.1,192.168.103.100"
|
port : 27000
|
processManagement:
|
fork : true
|
security:
|
authorization : enabled
|
operationProfiling:
|
mode : slowOp
|
slowOpThresholdMs : 50
|
And get this error message:
$ mongod --config m2.conf
|
Expected boolean switch but found string: False for option: systemLog.logAppend
|
Attachments
Issue Links
- related to
-
DOCS-12989 Docs for TOOLS-2001: mongoexport command line help not consistent
-
- Closed
-