-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Logging
-
Server Security
Even at level "1" of debugging, which is the lowest enabled debug level, the logs are pretty detailed:
2018-05-16T18:05:34.876-0700 I COMMAND [conn2] command test.user appName: "MongoDB Shell" command: find { find: "user", filter: { email: "test@aol.com" }, $db: "test" } planSummary: EOF keysExamined:0 docsExamined:0 cursorExhausted:1 numYields:0 nreturned:0 reslen:82 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount:{ r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_msg 0ms
It would be helpful to add another level which is perhaps a bit less detailed so that we don't fill our logs so quickly trying to debug what commands are being sent to our server:
2018-05-16T18:05:34.876-0700 I COMMAND [conn2] command test.user command: find
- is related to
-
SERVER-18339 Log only warning, error or fatal messages
- Closed