running
db.runCommand({getLog: "startupWarnings"})
shows non-warning messages. for example:
"{\"t\":{\"$date\":\"2020-03-05T14:17:17.815+0200\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":51800,\"ctx\":\"conn25\",\"msg\":\"received client metadata from {remote} {client}: {doc}\",\"attr\":{\"remote\":\"127.0.0.1:62392\",\"client\":\"conn25\",\"doc\":{\"application\":{\"name\":\"MongoDB Shell\"},\"driver\":{\"name\":\"MongoDB Internal Client\",\"version\":\"4.3.4\"},\"os\":{\"type\":\"Darwin\",\"name\":\"Mac OS X\",\"architecture\":\"x86_64\",\"version\":\"18.6.0\"}}}}"
This is not reproducible on 4.3.3, so might be related to structured logging changes.
- is duplicated by
-
SERVER-46642 db.adminCommand({getLog: "startupWarnings"}) returns all log messages
- Closed
-
SERVER-46934 Shell prints complete server log as "server startup warnings" output
- Closed