|
With SERVER-7740, startupWarnings are always displayed on startup. These should be suppressed for non-interactive shell sessions or with the --quiet parameter.
The starting warnings output is undesirable for scripting interaction.
For example:
mongo --quiet <<< "show dbs" > ./dbs.log
|
$ cat dbs.log
|
Server has startup warnings:
|
Tue Feb 12 11:32:59.378 [initandlisten]
|
Tue Feb 12 11:32:59.378 [initandlisten] ** WARNING: soft rlimits too low. rlimits set to 512 processes, 2560 files. Number of processes should be at least 1280 : 0.5 times number of files.
|
Tue Feb 12 11:32:59.552 [initandlisten]
|
admin 0.203125GB
|
config 0.203125GB
|
...
|
|