@@ -15,11 +15,6 @@ Overview
1515
1616In this guide, you can learn how to set up and configure a logger in the {+driver-short+}.
1717
18- You will learn how to:
19-
20- - Set up a logger by using Simple Logging Facade for Java (SLF4J)
21- - Configure the log level
22-
2318This guide shows how to record events in the driver. If you want to learn how to
2419use information about the activity of the driver in code, see the :ref:`kotlin-sync-monitoring`
2520guide.
@@ -35,7 +30,7 @@ your project:
3530
3631- The ``slf4j-api`` artifact in your classpath
3732- A logging framework
38- - A **binding**
33+ - A **binding** that connects the ``slf4j-api`` artifact to a logging framework
3934
4035If the driver can't find the ``slf4j-api`` artifact in your classpath, the driver outputs
4136the following warning and disables all further logging:
@@ -44,8 +39,6 @@ the following warning and disables all further logging:
4439
4540 WARNING: SLF4J not found on the classpath. Logging is disabled for the 'org.mongodb.driver' component
4641
47- A binding is a piece of code that connects the ``slf4j-api`` artifact to a logging framework.
48-
4942Logger Setup Example
5043~~~~~~~~~~~~~~~~~~~~
5144
@@ -58,7 +51,7 @@ The following example shows how to set up a logger. Select the :guilabel:`Logbac
5851 :tabid: Logback-binding
5952
6053 Select the :guilabel:`Maven` or :guilabel:`Gradle` tab to learn about how to set up
61- Logback with your project's dependency management tool.
54+ Logback with your project's dependency management tool:
6255
6356 .. tabs::
6457
@@ -97,9 +90,6 @@ The following example shows how to set up a logger. Select the :guilabel:`Logbac
9790 Logback logger's log level, see the
9891 :ref:`Configure Log Level <kotlin-sync-configure-log-level>` section of this page.
9992
100- For more information about Logback, see the
101- `Logback manual <https://logback.qos.ch/manual/>`__.
102-
10393 .. tab:: Log4j2
10494 :tabid: Log4j2-binding
10595
@@ -290,31 +280,31 @@ The {+driver-short+} defines the following logger names to organize different lo
290280 * - Logger Name
291281 - Description
292282
293- * - org.mongodb.driver.authenticator
283+ * - `` org.mongodb.driver.authenticator``
294284 - Logs authentication events
295285
296- * - org.mongodb.driver.client
286+ * - `` org.mongodb.driver.client``
297287 - Logs events related to MongoClient instances
298288
299- * - org.mongodb.driver.cluster
289+ * - `` org.mongodb.driver.cluster``
300290 - Logs events related to monitoring of MongoDB deployments
301291
302- * - org.mongodb.driver.connection
292+ * - `` org.mongodb.driver.connection``
303293 - Logs connections and connection pools
304294
305- * - org.mongodb.driver.connection.tls
295+ * - `` org.mongodb.driver.connection.tls``
306296 - Logs TLS events
307297
308- * - org.mongodb.driver.operation
298+ * - `` org.mongodb.driver.operation``
309299 - Logs operations, including logging related to automatic retries
310300
311- * - org.mongodb.driver.protocol
301+ * - `` org.mongodb.driver.protocol``
312302 - Logs commands sent to and replies received from MongoDB deployments
313303
314- * - org.mongodb.driver.uri
304+ * - `` org.mongodb.driver.uri``
315305 - Logs connection string parsing events
316306
317- * - org.mongodb.driver.management
307+ * - `` org.mongodb.driver.management``
318308 - Logs Java Management Extensions (JMX) events
319309
320310Logger Name Example
@@ -404,7 +394,7 @@ Select the :guilabel:`Logback` or :guilabel:`Log4j2` tab to see the correspondin
404394Additional Information
405395----------------------
406396
407- To learn more about MongoDB's logging capabilities, see :manual:`log-messages` in the {+mdb-server+}
397+ To learn more about MongoDB's logging capabilities, see :manual:`</ log-messages> ` in the {+mdb-server+}
408398manual.
409399
410400For complete information about the logging frameworks discussed in this guide, see the
0 commit comments