-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.0.8, 2.2.3, 2.4.1
-
Component/s: Admin
-
Environment:tested in osx and rhel 6.3
-
Fully Compatible
-
ALL
-
These command line calls should print version or help info instead of writing it to the log file.
mongod --version --logpath /var/log/mongod/mongod.log
mongod --help --logpath /var/log/mongod/mongod.log
(or with logpath configured in /etc/mongod.conf)
mongod --version --config /etc/mongod.conf
mongod --help --config /etc/mongod.conf
- is related to
-
SERVER-6900 Windows Service: --install output should go to the console, not the log file
- Closed
- related to
-
SERVER-8510 Move command line parsing into MONGO_INITIALIZERS and support JSON config files
- Closed