:original_name: en-us_topic_error_log.html

.. _en-us_topic_error_log:

Error Log
=========

**Scenarios**
-------------

DDS log management allows you to view database-level logs, including warning- and error-level logs generated during database running, which help you analyze system problems.

Procedure
---------

#. :ref:`Log in to the DDS console. <dds_02_0043>`
#. On the **Instance Management** page, click the target DB instance.
#. In the navigation pane on the left, click **Error Logs**.
#. On the displayed page, click **Error Logs**. Then, view the log details.

   -  For a cluster instance, you can view error logs of the mongos, shard, and config nodes.
   -  For a replica set instance, you can view the error logs of the primary, secondary, and hidden nodes.
   -  For a single node instance, you can view error logs of the current node.
   -  You can view up to 2,000 error logs of a specified node type, at a specified level, and within a specified period.
