Viewing the Log Configuration File
This section describes the device-side log configuration file. This file records the log level, log output path, total number, and single log file size of system logs on the device.
Overall Configuration Description
- In the Ascend EP standard form, the host does not have a log configuration file and does not have the permission to log in to the device to modify the log configuration file. Generally, you do not need to modify the log configuration file.
- The log configuration files are stored in the following directory on the device:
Atlas 200/300/500 Inference Product : /var/log/npu/conf/slog/slog.conf
- In multi-user scenarios, the configuration file can only be modified by the running user of the log process.
- Modify log configuration options based on the recommended values or value ranges described in the related table. Otherwise, system exceptions may occur.
- Manually modify the device-side configuration file and restart the slogd process for the modification to take effect. For details about how to restart the log process, see Restarting Log Processes.
Configuration Options in the slog.conf File
Parent topic: Other Operations