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``:
42
42
.. code-block:: python
43
43
44
44
import logging
45
- logging.getLogger(' pymongo' ).setLevel(logging.INFO)
45
+ logging.getLogger(" pymongo" ).setLevel(logging.INFO)
46
46
47
47
The following example sets the log level on the ``pymongo.command`` component to
48
48
``DEBUG``:
49
49
50
50
.. code-block:: python
51
51
52
52
import logging
53
- logging.getLogger(' pymongo.command' ).setLevel(logging.DEBUG)
53
+ logging.getLogger(" pymongo.command" ).setLevel(logging.DEBUG)
54
54
55
55
Configuring Truncation
56
56
----------------------
@@ -63,4 +63,4 @@ desired length, as shown in the following example:
63
63
.. code-block:: python
64
64
65
65
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