- MongoDB Async Driver
- Reference
- Logging
Logging
By default, logging is enabled via the popular SLF4J API. The use of SLF4J is optional;
the driver will use SLF4J if the driver detects the presence of SLF4J in the classpath. Otherwise, the driver will fall back to
JUL (java.util.logging
).
The driver uses the following logger names:
org.mongodb.driver
: the root loggercluster
: for logs related to monitoring of the MongoDB servers to which the driver connectsconnection
: for logs related to connections and connection poolsprotocol
: for logs related to protocol message sent to and received from a MongoDB serverinsert
: for logs related to insert messages and responsesupdate
: for logs related to update messages and responsesdelete
: for logs related to delete messages and responsesquery
: for logs related to query messages and responsesgetmore
: for logs related to getmore messages and responseskillcursor
: for logs related to killcursor messages and responsescommand
: for logs related to command messages and responses
uri
: for logs related to connection string parsingmanagement
: for logs related to JMX
On this page