Skip to content

Commit 6f1207f

Browse files
(DOCSP-32336): Add Atlas-centric content to Log Messages page (#4772) (#4815)
* Add Atlas UI steps to page * Add atlas-centric content to log messages page * apply Sarah's suggestion --------- Co-authored-by: Sarah Simpers <[email protected]>
1 parent aef2130 commit 6f1207f

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

source/reference/log-messages.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,16 @@ Overview
1818
As part of normal operation, MongoDB maintains a running log of events,
1919
including entries such as incoming connections, commands run, and issues
2020
encountered. Generally, log messages are useful for diagnosing issues,
21-
monitoring your deployment, and tuning performance.
21+
monitoring your deployment, and tuning performance.
22+
23+
To get your log messages, you can use any of the
24+
following methods:
25+
26+
- View logs in your configured :ref:`log destination
27+
<log-message-destinations>`.
28+
- Run the :dbcommand:`getLog` command.
29+
- Download logs through :atlas:`{+atlas+} </>`.
30+
To learn more, see :ref:`log-messages-atlas`.
2231

2332
Structured Logging
2433
------------------
@@ -1364,3 +1373,13 @@ attribute object:
13641373
"request": "RemoteCommand 229 -- target:localhost:27003 db:admin cmd:{ replSetRequestVotes: 1, setName: \"my-replica-name\", dryRun: true, term: 3, candidateIndex: 0, configVersion: 2, configTerm: 3, lastAppliedOpTime: { ts: Timestamp(1589915409, 1), t: 3 } }"
13651374
}
13661375
}
1376+
1377+
.. _log-messages-atlas:
1378+
1379+
Download Your Logs
1380+
------------------
1381+
1382+
You can use {+atlas+} to download a zipped file containing
1383+
the logs for a selected hostname or process in your database
1384+
deployment. To learn more, see
1385+
:atlas:`View and Download MongoDB Logs </mongodb-logs>`.

0 commit comments

Comments
 (0)