Viewing Logs (Open Ctrl CPU Form)

This section describes log file storage paths and main information recorded in log files in open Ctrl CPU form.

  • App logs support aging. For each type of logs (debug, run, and security), a maximum of 24 device-app-pid directories are allowed by default. The system scans the directories every 15 seconds. If this limit is reached, the earliest directories are automatically deleted.

    For details about the number of device-app-pid directories, the number of log files stored in each device-app-pid directory, and the size of each log file, see Log Configuration File.

  • Keep the number of concurrent app processes within 24 to avoid log data loss.
Table 1 Log files

Log Directory

Description

/var/log/npu/slog/debug/device-app-pid/device-app-pid_*.log

Debug logs generated by app processes on Ctrl CPUs.

/var/log/npu/slog/run/device-app-pid/device-app-pid_*.log

Run logs generated by app processes on Ctrl CPUs.

/var/log/npu/slog/security/device-app-pid/device-app-pid_*.log

Security logs generated by app processes on Ctrl CPUs.

/var/log/npu/slog/slogd/slogdlog

Maintenance and debugging logs, recording the runtime status of the log tool for troubleshooting.

There is an aging policy for logs. When the size of the slogdlog file reaches the specified threshold (1 MB), the file is renamed slogdlog.old for backup. The earliest backup file is deleted after each backup.

You need to log in to the host server and use the msnpureport tool to export the following files. For details, see msnpureport Tool.

-

/var/log/npu/slog/debug/device-os/device-os_*.log

Debug logs generated by system processes on Control CPUs, including user-mode logs and kernel-mode logs.

/var/log/npu/slog/run/event/event_*.log

Event logs generated by system processes on Ctrl CPUs.

/var/log/npu/slog/run/device-os/device-os_*.log

Run logs generated by system processes on Ctrl CPUs.

/var/log/npu/slog/security/device-os/device-os_*.log

Security logs generated by system processes on Ctrl CPUs.

/var/log/npu/slog/debug/device-id/device-id_*.log

System logs of non-Control CPUs, including logs of the TS, TSDUMP, and LP modules.

Replace id and pid with the device ID and the process ID, respectively. The asterisk (*) in each file name indicates the timestamp when the log file is created.