mongod --auth --dbpath $(echo $PWD)
{“t”:{"$date":“2020-08-31T16:21:56.382-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:23285, “ctx”:“main”,“msg”:“Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols ‘none’”}
{“t”:{"$date":“2020-08-31T16:21:56.384-04:00”},“s”:“W”, “c”:“ASIO”, “id”:22601, “ctx”:“main”,“msg”:“No TransportLayer configured during NetworkInterface startup”}
{“t”:{"$date":“2020-08-31T16:21:56.384-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:4648602, “ctx”:“main”,“msg”:“Implicit TCP FastOpen in use.”}
{“t”:{"$date":“2020-08-31T16:21:56.385-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:4615611, “ctx”:“initandlisten”,“msg”:“MongoDB starting”,“attr”:{“pid”:52047,“port”:27017,“dbPath”:"/Users/jean-marcelbelmont/dev/mongodb-university/m310",“architecture”:“64-bit”,“host”:“Admins-MacBook-Pro-77.local”}}
{“t”:{"$date":“2020-08-31T16:21:56.385-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:23403, “ctx”:“initandlisten”,“msg”:“Build Info”,“attr”:{“buildInfo”:{“version”:“4.4.0”,“gitVersion”:“563487e100c4215e2dce98d0af2a6a5a2d67c5cf”,“modules”:,“allocator”:“system”,“environment”:{“distarch”:“x86_64”,“target_arch”:“x86_64”}}}}
{“t”:{"$date":“2020-08-31T16:21:56.385-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:51765, “ctx”:“initandlisten”,“msg”:“Operating System”,“attr”:{“os”:{“name”:“Mac OS X”,“version”:“19.6.0”}}}
{“t”:{"$date":“2020-08-31T16:21:56.385-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:21951, “ctx”:“initandlisten”,“msg”:“Options set by command line”,“attr”:{“options”:{“security”:{“authorization”:“enabled”},“storage”:{“dbPath”:"/Users/jean-marcelbelmont/dev/mongodb-university/m310"}}}}
{“t”:{"$date":“2020-08-31T16:21:56.386-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22315, “ctx”:“initandlisten”,“msg”:“Opening WiredTiger”,“attr”:{“config”:“create,cache_size=7680M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],”}}
{“t”:{"$date":“2020-08-31T16:21:57.044-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:"[1598905317:44929][52047:0x112131dc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}}
{“t”:{"$date":“2020-08-31T16:21:57.090-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:4795906, “ctx”:“initandlisten”,“msg”:“WiredTiger opened”,“attr”:{“durationMillis”:704}}
{“t”:{"$date":“2020-08-31T16:21:57.090-04:00”},“s”:“I”, “c”:“RECOVERY”, “id”:23987, “ctx”:“initandlisten”,“msg”:“WiredTiger recoveryTimestamp”,“attr”:{“recoveryTimestamp”:{"$timestamp":{“t”:0,“i”:0}}}}
{“t”:{"$date":“2020-08-31T16:21:57.174-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22262, “ctx”:“initandlisten”,“msg”:“Timestamp monitor starting”}
{“t”:{"$date":“2020-08-31T16:21:57.175-04:00”},“s”:“W”, “c”:“CONTROL”, “id”:22140, “ctx”:“initandlisten”,“msg”:“This server is bound to localhost. Remote systems will be unable to connect to this server. Start the server with --bind_ip to specify which IP addresses it should serve responses from, or with --bind_ip_all to bind to all interfaces. If this behavior is desired, start the server with --bind_ip 127.0.0.1 to disable this warning”,“tags”:[“startupWarnings”]}
{“t”:{"$date":“2020-08-31T16:21:57.176-04:00”},“s”:“W”, “c”:“CONTROL”, “id”:22184, “ctx”:“initandlisten”,“msg”:“Soft rlimits too low”,“attr”:{“currentValue”:256,“recommendedMinimum”:64000},“tags”:[“startupWarnings”]}
{“t”:{"$date":“2020-08-31T16:21:57.176-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:20320, “ctx”:“initandlisten”,“msg”:“createCollection”,“attr”:{“namespace”:“admin.system.version”,“uuidDisposition”:“provided”,“uuid”:{“uuid”:{"$uuid":“d99ea87e-99d7-48f6-a48d-704e6d640f16”}},“options”:{“uuid”:{"$uuid":“d99ea87e-99d7-48f6-a48d-704e6d640f16”}}}}
{“t”:{"$date":“2020-08-31T16:21:57.232-04:00”},“s”:“I”, “c”:“INDEX”, “id”:20345, “ctx”:“initandlisten”,“msg”:“Index build: done building”,“attr”:{“buildUUID”:null,“namespace”:“admin.system.version”,“index”:“id”,“commitTimestamp”:{"$timestamp":{“t”:0,“i”:0}}}}
{“t”:{"$date":“2020-08-31T16:21:57.233-04:00”},“s”:“I”, “c”:“COMMAND”, “id”:20459, “ctx”:“initandlisten”,“msg”:“Setting featureCompatibilityVersion”,“attr”:{“newVersion”:“4.4”}}
{“t”:{"$date":“2020-08-31T16:21:57.233-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:20536, “ctx”:“initandlisten”,“msg”:“Flow Control is enabled on this deployment”}
{“t”:{"$date":“2020-08-31T16:21:57.234-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:20320, “ctx”:“initandlisten”,“msg”:“createCollection”,“attr”:{“namespace”:“local.startup_log”,“uuidDisposition”:“generated”,“uuid”:{“uuid”:{"$uuid":“214264a0-8a73-40f6-9cf5-27e2294d8023”}},“options”:{“capped”:true,“size”:10485760}}}
{“t”:{"$date":“2020-08-31T16:21:57.278-04:00”},“s”:“I”, “c”:“INDEX”, “id”:20345, “ctx”:“initandlisten”,“msg”:“Index build: done building”,“attr”:{“buildUUID”:null,“namespace”:“local.startup_log”,“index”:“id”,“commitTimestamp”:{"$timestamp":{“t”:0,“i”:0}}}}
{“t”:{"$date":“2020-08-31T16:21:57.278-04:00”},“s”:“I”, “c”:“FTDC”, “id”:20625, “ctx”:“initandlisten”,“msg”:“Initializing full-time diagnostic data capture”,“attr”:{“dataDirectory”:"/Users/jean-marcelbelmont/dev/mongodb-university/m310/diagnostic.data"}}
{“t”:{"$date":“2020-08-31T16:21:57.279-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:23015, “ctx”:“listener”,“msg”:“Listening on”,“attr”:{“address”:"/tmp/mongodb-27017.sock"}}
{“t”:{"$date":“2020-08-31T16:21:57.279-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:23015, “ctx”:“listener”,“msg”:“Listening on”,“attr”:{“address”:“127.0.0.1”}}
{“t”:{"$date":“2020-08-31T16:21:57.279-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:23016, “ctx”:“listener”,“msg”:“Waiting for connections”,“attr”:{“port”:27017,“ssl”:“off”}}
{“t”:{"$date":“2020-08-31T16:21:57.279-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:20712, “ctx”:“LogicalSessionCacheReap”,“msg”:“Sessions collection is not set up; waiting until next sessions reap interval”,“attr”:{“error”:“NamespaceNotFound: config.system.sessions does not exist”}}
{“t”:{"$date":“2020-08-31T16:21:57.279-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:20320, “ctx”:“LogicalSessionCacheRefresh”,“msg”:“createCollection”,“attr”:{“namespace”:“config.system.sessions”,“uuidDisposition”:“generated”,“uuid”:{“uuid”:{"$uuid":“5a50d9e4-dd28-4526-a3ab-e38dd48651cc”}},“options”:{}}}
{“t”:{"$date":“2020-08-31T16:21:57.365-04:00”},“s”:“I”, “c”:“INDEX”, “id”:20345, “ctx”:“LogicalSessionCacheRefresh”,“msg”:“Index build: done building”,“attr”:{“buildUUID”:null,“namespace”:“config.system.sessions”,“index”:“id”,“commitTimestamp”:{"$timestamp":{“t”:0,“i”:0}}}}
{“t”:{"$date":“2020-08-31T16:21:57.365-04:00”},“s”:“I”, “c”:“INDEX”, “id”:20345, “ctx”:“LogicalSessionCacheRefresh”,“msg”:“Index build: done building”,“attr”:{“buildUUID”:null,“namespace”:“config.system.sessions”,“index”:“lsidTTLIndex”,“commitTimestamp”:{"$timestamp":{“t”:0,“i”:0}}}}
In order to get the command to run on Enabling SCRAM-1 lession I had to add flag --dbpath since Mac OS X doesn’t let you create /data/db in path anymore.