Log Files
The following summarizes the path, name, and content of each log file on the host.
Log File |
Path |
Description |
---|---|---|
device-os-id_*.log |
/var/log/npu/slog/device-os-id |
Logs of the Ctrl CPU on the device side, covering the following modules:
|
device-id_*.log |
/var/log/npu/slog/device-id |
Logs of the non-Ctrl CPUs on the device side, covering the following modules:
|
host-0_*.log |
/var/log/npu/slog/host-0 |
User-mode and kernel-mode logs on the host side, covering the following modules:
|
The log file of the log tool itself is slogdlog. It is stored in the /var/log/npu/slog/slogd directory by default. It is used for troubleshooting the log tool itself. When the size of the slogdlog file reaches the specified threshold (5 MB), the file is renamed slogdlog.old for backup. The old backup is deleted when a new backup is created. The maintenance and testing log of libslog.so is stored in /var/log/messages.
The operation log file of the ADX is adoper.log. It is stored in the /var/log/npu/ide_daemon/run directory and records the command execution, data transfer, log level settings, profiling startup, and certificate replacement. When the size of the adoper.log file reaches the specified threshold (10 MB), the file is renamed adoper.log.old for backup. The old backup is deleted when a new backup is created.