Device Logs
File Description
- File content: Includes logs on the device.
- Naming constraints: device-os_{time}.log, event_{time}.log, device-{id}_{time}.log, and history.log
- Constraints on the storage path:
- Collection_directory/device_log
- ${--device_log}/
- Directory structure:Ascend HDK 23.0.RC3:
|--device_log |-- slog |-- dev-os-3 |-- debug |--device-os |-- device-os_{time}.log # System logs of Ctrl CPUs on the device |-- run |--device-os |-- device-os_{time}.log # System logs of Ctrl CPUs on the device |--device-0 |--device-0_{time}.log # System logs of non-Ctrl CPUs on the device |--device-2 |--… |--slogd |--device_sys_init_ext.log |-- dev-os-7 |--… |--hisi_logs |-- device-0 |-- … |-- history.log # Black Box logs |-- device-2 |--… |-- device_info.txtAscend HDK 23.0.3 and later versions:
|--device_log |-- slog |-- dev-os-3 |-- debug |--device-os |-- device-os_{time}.log # System logs of Ctrl CPUs on the device |--device-0 |--device-0_{time}.log # System logs of non-Ctrl CPUs on the device |--device-2 |--… |-- run |--device-os |-- device-os_{time}.log # System logs of Ctrl CPUs on the device |--event |-- event_{time}.log # EVENT-level system logs of Ctrl CPUs on the device |--… |--slogd |--device_sys_init_ext.log |-- dev-os-7 |--… |--hisi_logs |-- device-0 |--… |-- history.log # Black Box logs |-- device-2 |--… |-- device_info.txt
Collection Mode Description
Run the following command to collect device logs:
msnpureport
- After the command is executed, a timestamp folder is generated in the current directory. Dump the slog and hisi_logs folders in the timestamp directory to the collection directory/device_log directory.
- If log collection fails, rectify the fault by referring to "FAQs" > "What Do I Do If Log Flush Fails?" in CANN Log Reference.
Parent topic: Collection After Training or Inference