File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ The follwing example sets the global logging level to ``INFO``:
4242.. code-block:: python
4343
4444 import logging
45- logging.getLogger(' pymongo' ).setLevel(logging.INFO)
45+ logging.getLogger(" pymongo" ).setLevel(logging.INFO)
4646
4747The following example sets the log level on the ``pymongo.command`` component to
4848``DEBUG``:
4949
5050.. code-block:: python
5151
5252 import logging
53- logging.getLogger(' pymongo.command' ).setLevel(logging.DEBUG)
53+ logging.getLogger(" pymongo.command" ).setLevel(logging.DEBUG)
5454
5555Configuring Truncation
5656----------------------
@@ -63,4 +63,4 @@ desired length, as shown in the following example:
6363.. code-block:: python
6464
6565 import os
66- os.environ(' MONGODB_LOG_MAX_DOCUMENT_LENGTH') = 2000
66+ os.environ[" MONGODB_LOG_MAX_DOCUMENT_LENGTH"] = " 2000"
You can’t perform that action at this time.
0 commit comments