Create a configuration file.¶
Create a configuration file. The file must set systemLog.path. Include additional configuration options as appropriate.
For example, create a file at C:mongodbmongod.cfg that specifies both systemLog.path and storage.dbPath: