Skip to content

Commit d305bc4

Browse files
ajhuh-mdbandf-mongodb
authored andcommitted
DOCSP-17224 fix typos in log message docs
1 parent 54510b2 commit d305bc4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/reference/log-messages.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ specific instance of its subfield ``_id`` that triggered truncation
196196
printed without data as ``{"_id":{}}``. The remainder of the ``request``
197197
attribute is then omitted.
198198

199-
Log entires containing one or more truncated attributes include a
199+
Log entries containing one or more truncated attributes include a
200200
``truncated`` object which provides the following information for each
201201
truncated attribute in the log entry:
202202

@@ -240,7 +240,7 @@ Pretty Printing
240240

241241
.. include:: /includes/fact-use-jq-with-structured-logging.rst
242242

243-
You can use ``jq`` to pretty-print log entires as follows:
243+
You can use ``jq`` to pretty-print log entries as follows:
244244

245245
- Pretty-print the entire log file:
246246

@@ -683,7 +683,7 @@ the the amount of log messages MongoDB outputs. Verbosity levels can be
683683
adjusted for all components together, or for specific
684684
:ref:`named components <log-message-components>` individually.
685685

686-
Verbosity affects log entires in the :ref:`severity
686+
Verbosity affects log entries in the :ref:`severity
687687
<log-severity-levels>` categories **Informational** and **Debug** only.
688688
Severity categories above these levels are always shown.
689689

@@ -1017,7 +1017,7 @@ showing a client connection followed by a disconnection:
10171017
{"t":{"$date":"2020-06-01T13:06:59.027-0500"},"s":"I", "c":"NETWORK", "id":22943,"ctx":"listener","msg":"connection accepted from {session_remote} #{session_id} ({connectionCount}{word} now open)","attr":{"session_remote":"127.0.0.1:61298","session_id":164,"connectionCount":11,"word":" connections"}}
10181018
{"t":{"$date":"2020-06-01T13:07:03.490-0500"},"s":"I", "c":"NETWORK", "id":22944,"ctx":"conn157","msg":"end connection {remote} ({connectionCount}{word} now open)","attr":{"remote":"127.0.0.1:61298","connectionCount":10,"word":" connections"}}
10191019

1020-
The log IDs for these two entires are ``22943`` and ``22944``
1020+
The log IDs for these two entries are ``22943`` and ``22944``
10211021
respectively. You could then filter your log output to show only these
10221022
log IDs, effectively showing only client connection activity, using the
10231023
following ``jq`` syntax:
@@ -1035,7 +1035,7 @@ Filtering by Date Range
10351035
```````````````````````
10361036

10371037
Log output can be further refined by filtering on the timestamp field,
1038-
limiting log entires returned to a specific date range. For example,
1038+
limiting log entries returned to a specific date range. For example,
10391039
the following returns all log entries that occurred on April 15th, 2020:
10401040

10411041
.. code-block:: bash

0 commit comments

Comments
 (0)