{"t":{"$date":"2024-03-01T15:59:47.676Z"},"s":"I","c":"MONGOSH","id":1000000000,"ctx":"log","msg":"Starting log","attr":{"execPath":"/opt/homebrew/Cellar/node/21.6.2_1/bin/node","envInfo":{"EDITOR":"code","NODE_OPTIONS":null,"TERM":"xterm-256color"},"version":"2.1.5","distributionKind":"packaged","buildArch":"x64","buildPlatform":"linux","buildTarget":"unknown","buildTime":"2024-02-19T13:37:36.171Z","gitVersion":"cbfb77a23e88fc09b9334a6680667760b18dec94","nodeVersion":"v21.6.2","opensslVersion":"3.2.1","sharedOpenssl":true,"runtimeArch":"arm64","runtimePlatform":"darwin","deps":{"nodeDriverVersion":"6.3.0","libmongocryptVersion":null,"libmongocryptNodeBindingsVersion":null,"kerberosVersion":null}}} {"t":{"$date":"2024-03-01T15:59:47.777Z"},"s":"I","c":"MONGOSH","id":1000000005,"ctx":"config","msg":"User updated"} {"t":{"$date":"2024-03-01T15:59:47.777Z"},"s":"I","c":"MONGOSH","id":1000000048,"ctx":"config","msg":"Loading global configuration file","attr":{"filename":"/etc/mongosh.conf","found":false}} {"t":{"$date":"2024-03-01T15:59:47.812Z"},"s":"I","c":"MONGOSH","id":1000000052,"ctx":"startup","msg":"Fetching update metadata","attr":{"updateURL":"https://downloads.mongodb.com/compass/mongosh.json","localFilePath":"/Users/cchaos/.mongodb/mongosh/update-metadata.json"}} {"t":{"$date":"2024-03-01T15:59:47.812Z"},"s":"E","c":"DEVTOOLS-CONNECT","id":1000000041,"ctx":"mongosh-deps","msg":"Missing optional dependency","attr":{"name":"mongodb-client-encryption","error":"Cannot find module 'mongodb-client-encryption'\nRequire stack:\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/@mongodb-js/devtools-connect/lib/connect.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/@mongodb-js/devtools-connect/lib/index.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/@mongosh/logging/lib/setup-logger-and-telemetry.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/@mongosh/logging/lib/index.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/lib/cli-repl.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/lib/run.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/bin/mongosh.js"}} {"t":{"$date":"2024-03-01T15:59:47.813Z"},"s":"E","c":"DEVTOOLS-CONNECT","id":1000000041,"ctx":"mongosh-deps","msg":"Missing optional dependency","attr":{"name":"kerberos","error":"Cannot find module 'kerberos'\nRequire stack:\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/@mongodb-js/devtools-connect/lib/connect.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/@mongodb-js/devtools-connect/lib/index.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/@mongosh/logging/lib/setup-logger-and-telemetry.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/@mongosh/logging/lib/index.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/lib/cli-repl.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/lib/run.js\n- /opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/bin/mongosh.js"}} {"t":{"$date":"2024-03-01T15:59:47.814Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"mongosh-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.1.5","driver":{"name":"nodejs|mongosh","version":"6.3.0|2.1.5"},"devtoolsConnectVersion":"2.4.3","host":"127.0.0.1:27017"}} {"t":{"$date":"2024-03-01T15:59:47.814Z"},"s":"I","c":"MONGOSH","id":1000000053,"ctx":"startup","msg":"Fetching update metadata complete","attr":{"latest":"2.1.5"}} {"t":{"$date":"2024-03-01T15:59:47.816Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"mongosh-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"127.0.0.1:27017"}} {"t":{"$date":"2024-03-01T15:59:47.821Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"mongosh-connect","msg":"Connection attempt finished"} {"t":{"$date":"2024-03-01T15:59:47.826Z"},"s":"I","c":"MONGOSH","id":1000000004,"ctx":"connect","msg":"Connecting to server","attr":{"session_id":"65e1fb7379295092f854433e","userId":null,"telemetryAnonymousId":"64eb92cbee09e6507c3dda0a","connectionUri":"mongodb://:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.1.5","is_atlas":false,"is_localhost":true,"is_do":false,"server_version":"7.0.2","node_version":"v21.6.2","mongosh_version":"2.1.5","server_os":"macOS","server_arch":"aarch64","is_enterprise":false,"auth_type":null,"is_data_federation":false,"is_stream":false,"dl_version":null,"atlas_version":null,"is_genuine":true,"non_genuine_server_name":"mongodb","is_local_atlas":false,"fcv":null,"api_version":null,"api_strict":null,"api_deprecation_errors":null}} {"t":{"$date":"2024-03-01T15:59:47.827Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"adminCommand","class":"Database","db":"test","arguments":{"cmd":{"ping":1}}}} {"t":{"$date":"2024-03-01T15:59:47.828Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"getSiblingDB","class":"Database","db":"test","arguments":{"db":"admin"}}} {"t":{"$date":"2024-03-01T15:59:47.897Z"},"s":"I","c":"MONGOSH","id":1000000010,"ctx":"shell-api","msg":"Initialized context","attr":{"method":"setCtx","arguments":{}}} {"t":{"$date":"2024-03-01T15:59:47.898Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"adminCommand","class":"Database","db":"test","arguments":{"cmd":{"getLog":"startupWarnings"}}}} {"t":{"$date":"2024-03-01T15:59:47.898Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"getSiblingDB","class":"Database","db":"test","arguments":{"db":"admin"}}} {"t":{"$date":"2024-03-01T15:59:47.898Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"hello","class":"Database","db":"test","arguments":{}}} {"t":{"$date":"2024-03-01T15:59:47.899Z"},"s":"E","c":"MONGOSH","id":1000000006,"ctx":"shell-api","msg":"MongoServerError: Command getLog requires authentication","attr":{"stack":"MongoServerError: Command getLog requires authentication\n at Connection.onMessage (/opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/mongodb/lib/cmap/connection.js:205:26)\n at MessageStream. (/opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/mongodb/lib/cmap/connection.js:64:60)\n at MessageStream.emit (node:events:519:28)\n at MessageStream.emit (node:domain:488:12)\n at processIncomingData (/opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/mongodb/lib/cmap/message_stream.js:117:16)\n at MessageStream._write (/opt/homebrew/Cellar/mongosh/2.1.5/libexec/lib/node_modules/@mongosh/cli-repl/node_modules/mongodb/lib/cmap/message_stream.js:33:9)\n at writeOrBuffer (node:internal/streams/writable:564:12)\n at _write (node:internal/streams/writable:493:10)\n at Writable.write (node:internal/streams/writable:502:10)\n at Socket.ondata (node:internal/streams/readable:1007:22)","name":"MongoServerError","message":"Command getLog requires authentication","code":13,"ok":0,"codeName":"Unauthorized"}} {"t":{"$date":"2024-03-01T15:59:47.899Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000024,"ctx":"snippets","msg":"Fetching snippet index","attr":{"refreshMode":"allow-cached"}} {"t":{"$date":"2024-03-01T15:59:47.900Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000019,"ctx":"snippets","msg":"Loaded snippets","attr":{"installdir":"/Users/cchaos/.mongodb/mongosh/snippets"}} {"t":{"$date":"2024-03-01T15:59:47.901Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000027,"ctx":"snippets","msg":"Fetching snippet index done"} {"t":{"$date":"2024-03-01T15:59:47.913Z"},"s":"I","c":"MONGOSH","id":1000000002,"ctx":"repl","msg":"Started REPL","attr":{"version":"2.1.5"}} {"t":{"$date":"2024-03-01T15:59:57.764Z"},"s":"I","c":"MONGOSH","id":1000000045,"ctx":"analytics","msg":"Flushed outstanding data","attr":{"flushError":"Trying to persist throttle state before userId is set","flushDuration":1}}