|
22 | 22 | Set Up a Logger
|
23 | 23 | ---------------
|
24 | 24 |
|
25 |
| -The {+driver-short+} uses SLF4J to allow you to specify your logging framework of choice. |
26 |
| -For mroe information about SLF4J, see the `SLF4J documentation <https://www.slf4j.org/>`__. |
| 25 | +The {+driver-short+} uses Simple Logging Facade For Java (SLF4J) to allow you to specify |
| 26 | +your logging framework of choice. For more information about SLF4J, see the `SLF4J documentation |
| 27 | +<https://www.slf4j.org/>`__. |
27 | 28 |
|
28 | 29 | Setting up a logger is optional. To set up a logger, you must include the following in
|
29 | 30 | your project:
|
@@ -135,7 +136,7 @@ The following example shows how to set up a logger. Select the :guilabel:`Logbac
|
135 | 136 | .. note:: Default Log Level
|
136 | 137 |
|
137 | 138 | The default log level of Log4J2 is ERROR. This means that running
|
138 |
| - standard operations in the MongoDB Java driver will not produce output |
| 139 | + standard operations in the {+driver-short+} will not produce output |
139 | 140 | from Log4J2 without configuration. To learn how to change your Log4J2
|
140 | 141 | logger's log level, see the
|
141 | 142 | :ref:`Configure Log Level <kotlin-sync-configure-log-level>` section of this page.
|
@@ -261,14 +262,14 @@ Logger Names
|
261 | 262 | Your logger uses logger names to help organize different logging events. Logger names
|
262 | 263 | are strings that form a hierarchy. A logger is an ancestor of another logger if its
|
263 | 264 | name followed by a ``"."`` is a prefix of the other logger's name. For example,
|
264 |
| -``"grandparent"`` is an ancestor of ``"grandparent.parent"`` which is an ancestor of |
| 265 | +``"grandparent"`` is an ancestor of ``"grandparent.parent"``, which is an ancestor of |
265 | 266 | ``"grandparent.parent.child"``. A logger inherits the properties of its ancestor logger and
|
266 |
| -can define its own. |
| 267 | +can also define its own properties. |
267 | 268 |
|
268 | 269 | The {+driver-short+} defines the following logger names to organize different logging events:
|
269 | 270 |
|
270 | 271 | .. list-table::
|
271 |
| - :widths: 25 75 |
| 272 | + :widths: 40 60 |
272 | 273 | :header-rows: 1
|
273 | 274 |
|
274 | 275 | * - Logger Name
|
|
0 commit comments