View System Manager log files - ONTAP 9.7 and earlier

Contributors netapp-aoife netapp-lenida

If you encounter any issues when using ONTAP System Manager classic (available in ONTAP 9.7 and earlier), you can send the log files to help troubleshoot the issues if directed by NetApp Support. The System Manager log files are located in the mlog directory along with the ONTAP log files.

Steps
  1. Identify the node that hosts the cluster management LIF.

  2. Enter the following URL in a web browser: https://cluster-mgmt-LIF/spi

    cluster-mgmt-LIF is the IP address of the cluster management LIF.

  3. Type your cluster administrator credentials, and then click OK.

  4. In the Data ONTAP - Root Volume File Access window, click the logs link for the node that hosts the cluster management LIF.

  5. Navigate to the mlog directory to access the System Manager log files.

    You might require the following log files, depending on the type of issue that you encountered:

    • sysmgr.log

      This file contains the latest logs for System Manager.

    • mgwd.log

    • php.log

    • apache_access.log

    • messages.log

How system logging works

System logging is an essential tool for application troubleshooting. You should enable system logging so that if there is a problem with an application, the problem can be located. You can enable System Manager logging at runtime without modifying the application binary.

Log output can be voluminous and therefore can become difficult to manage. System Manager enables you to refine the logging output by selecting which type of log statements are output. By default, system logging is set to INFO. You can choose one of the following log levels:

  • OFF

  • ERROR

  • WARN

  • INFO

  • DEBUG

These levels function hierarchically. A log level set to OFF indicates no logging of messages.