Skip to content

Commit eb9e672

Browse files
authored
(DOCSP-13512): Updated session ID to log ID. (#73)
* (DOCSP-13512): Updated session ID to log ID. * (DOCSP-13512): Incorporated JW's feedback.
1 parent 05ddedb commit eb9e672

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

source/includes/steps-view-logs.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
2-
title: "Find your Session ID."
2+
title: "Find your Log ID."
33
level: 4
44
ref: session-id
55
content: |
66
77
.. example::
88
9-
|mdb-shell| displays the session ID each time you open the shell.
9+
|mdb-shell| displays the log ID each time you open the shell.
1010
1111
.. code-block:: javascript
1212
:copyable: false
1313
:emphasize-lines: 3
1414
1515
$ mongosh
1616
17-
Current sessionID: c2961dbd6b73b052671d9df0
17+
Current Mongosh Log ID: c2961dbd6b73b052671d9df0
1818
Connecting to: mongodb://127.0.0.1:27017
1919
Using MongoDB: 4.2.8
2020
Using Mongosh Beta: 0.0.6
@@ -35,19 +35,19 @@ content: |
3535
3636
.. code-block:: sh
3737
38-
~/.mongodb/mongosh/<sessionId>_log
38+
~/.mongodb/mongosh/<LogID>_log
3939
4040
Run the following command to view the log for a session:
4141
4242
.. code-block:: sh
4343
44-
cat ~/.mongodb/mongosh/<sessionId>_log
44+
cat ~/.mongodb/mongosh/<LogID>_log
4545
4646
Run the following command to tail the log for a session:
4747
4848
.. code-block:: sh
4949
50-
tail -f ~/.mongodb/mongosh/<sessionId>_log
50+
tail -f ~/.mongodb/mongosh/<LogID>_log
5151
5252
.. tip::
5353
@@ -59,27 +59,27 @@ content: |
5959
6060
.. code-block:: sh
6161
62-
tail -f ~/.mongodb/mongosh/<sessionId>_log | pino-colada
62+
tail -f ~/.mongodb/mongosh/<LogID>_log | pino-colada
6363
6464
.. tab::
6565
:tabid: windows
6666
6767
.. code-block:: sh
6868
69-
%UserProfile%/.mongodb/mongosh/<sessionId>_log
69+
%UserProfile%/.mongodb/mongosh/<LogID>_log
7070
7171
Run the following PowerShell command to view the log for a session:
7272
7373
.. code-block:: sh
7474
75-
Get-Content %UserProfile%/.mongodb/mongosh/<sessionId>_log
75+
Get-Content %UserProfile%/.mongodb/mongosh/<LogID>_log
7676
7777
Run the following PowerShell command to tail the log for a
7878
session:
7979
8080
.. code-block:: sh
8181
82-
Get-Content %UserProfile%/.mongodb/mongosh/<sessionId>_log -Wait
82+
Get-Content %UserProfile%/.mongodb/mongosh/<LogID>_log -Wait
8383
8484
.. tip::
8585
@@ -91,6 +91,6 @@ content: |
9191
9292
.. code-block:: sh
9393
94-
Get-Content %UserProfile%/.mongodb/mongosh/<sessionId>_log -Wait | pino-colada
94+
Get-Content %UserProfile%/.mongodb/mongosh/<LogID>_log -Wait | pino-colada
9595
9696
...

source/logs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Retrieve MongoDB Shell Logs
1919
<https://github.com/pinojs/pino>`__.
2020

2121
You can view or tail the logs for a |mdb-shell| session based on its
22-
session ID.
22+
log ID.
2323

2424
.. include:: /includes/admonitions/note-redact-credentials-command-history.rst
2525

0 commit comments

Comments
 (0)