Running with Spring Boot, I get logs like this
c.m.i.d.l.SLF4JLogger : Command "insert" started on database "test" using a connection with driver-generated ID 3 and server-generated ID 13 to localhost:32795. The request ID is 13 and the operation ID is 11. Command: {"insert": "jobExecution", "ordered": true, "txnNumber": 1, "$db": "test", "$clusterTime": {"clusterTime": {"$timestamp": ...}
where c.m.i.d.l.SLF4JLogger
refers to com.mongodb.internal.diagnostics.logging.SLF4JLogger
.
I want to disable this logging, but if I change log4j2.xml to add: