Log Collection
Ascend-DMI records operation logs when commands are executed. The logs are stored in the following paths:
- Root user: /var/log/ascend-dmi
- Non-root user: ~/var/log/ascend-dmi
When the size of the log file exceeds 10 MB, the file is saved as log file.XX.gz (XX is a natural number starting from 1). The total number of files to be saved cannot exceed 10. When the number of log files exceeds the maximum value, the earliest log files are deleted.
If the ascend-dmi tool fails to obtain the device type, the device type is A500-3000 or A500-3010, and the size of the log file exceeds 1 MB, the log file is saved as log file.XX.gz (XX is a natural number starting from 1) The total number of files to be saved cannot exceed 10. When the number of log files exceeds the maximum value, the earliest log files are deleted. The logs are stored in the following paths:
- Root user: /home/log/ascend-dmi
- Non-root user: ~/home/log/ascend-dmi