Before You Start

Tool Overview

MindStudio provides a system-wide log collection and analysis solution for the Ascend AI Processor, improving the efficiency of locating algorithm problems at runtime. MindStudio also provides a unified log format and a graphical user interface (GUI) for visualized analysis of cross-platform logs and runtime diagnosis, improving the ease of use of the log analysis system.

By using the Log tool, you can perform the following operations:

  • Log management
  • Log level setting

Click the +Log tab at the bottom of the MindStudio window. The Log window is displayed, as shown in Figure 1.

Figure 1 Log window
  • localhost is always on top by default and is used to view runtime logs of the local system.
  • In a Windows OS, the destination address cannot be that of the Windows OS itself when the SSH connection is used.
  • To use the Log tool to open folders and files in Linux, the Nautilus and Gedit are required. Run the following command as the MindStudio installation user to install them.
    • Ubuntu 18.04-x86/AArch OS: sudo apt-get install nautilus gedit
    • EulerOS 2.8-AArch, CentOS 7.6-x86/AArch, and Kylin OS V10 SP1-AArch: sudo yum install nautilus gedit
    • CentOS 8.2-x86/AArch: sudo dnf install nautilus gedit
  • By default, log files are opened using the Gedit software. The configuration command is xdg-mime default org.gnome.gedit.desktop text/x-log.