-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: 4.2.9
-
Component/s: None
-
None
-
Storage Execution
-
ALL
When I start mongod and data directory is missing, I have the following log entry:
2020-09-26T15:17:12.078-0400 I STORAGE [initandlisten] exception in initAndListen: NonExistentPath: Data directory /data/db not found. Create the missing directory or specify another path using (1) the --dbpath command line option, or (2) by adding the 'storage.dbPath' option in the configuration file., terminating
The entry is logged with informational severity (I) but it is an error.
As a user of the server I expect error entries to be logged with error severity.
This issue does not exist in 4.4 - the severity there is error.