Updated on 2022-03-13 GMT+08:00

Viewing Logs

The log files of the Atlas 500 are in the /var/dlog directory.

  • The log files prefixed by host- are log files on the host (Hi3559A).
  • The files prefixed by device- are the log files on the device (Ascend 310).

Procedure

  1. Access the development mode of the Atlas 500 by referring to Accessing the Atlas 500 Development Mode.
  2. Go to the /var/dlog directory.
  3. Check whether the value of zip_switch is 0 before viewing logs.

    In the /etc/slog.conf file, check the value of zip_switch. If the value is not 0, open the /etc/slog.conf file as the root user, change the value of zip_switch to 0, and save the file.

  4. Restart the Atlas 500 OS for the modification to take effect.

    You can use the editor to view logs generated after zip_switch is set.