Problem Description
Users needs to be given warnings that their server is configfured non-optionamally by surfacing warnings that are in mongod server logs in the shell when first started, like the Mongo Shell does
Steps to Reproduce
Start an non-optimal mongod server on local laptop and then run Mongo Shell - notice warnings, then run Mongosh and notice no warnigns
Expected Results
Mongo Shell on startup shows things like:
MongoDB shell version v4.4.1
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
{{Implicit session: session { "id" : UUID("94fc2fd9-527b-4868-8c6d-2fac8e69b54e") }}}
MongoDB server version: 4.4.1
---
{{The server generated these startup warnings when booting: }}
{{ 2020-11-23T10:48:35.152+00:00: ***** SERVER RESTARTED *****}}
{{ 2020-11-23T10:48:35.492+00:00: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem}}
{{ 2020-11-23T10:48:36.391+00:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted}}
---
MongoDB Enterprise >
Actual Results
Nothing shown