The display logfile list slave command displays log files generated on the slave main control board in the specified time range.
Parameter | Description | Value |
---|---|---|
security |
Displays security log files generated in the specified time range. |
- |
log |
Displays user log files generated in the specified time range. |
- |
diagnose |
Displays diagnostic log files generated in the specified time range. In VS mode, this parameter is supported only by the admin VS. |
- |
list |
Displays diagnostic log files generated in the specified time range. |
- |
starttime starttime-value |
Specifies the start time for the query of log files. |
The value is in the YYYY/MM/DD,HH:MM:SS format.
|
endtime endtime-value |
Specifies the end time for the query of log files. |
The value is in the YYYY/MM/DD,HH:MM:SS format.
|
slave |
Displays log files generated on the slave main control board in the specified time range. |
- |
Usage Scenario
To check device running status, run the display logfile list slave command to display log files generated in the specified time range. If no log file type (log/diagnose) is specified, the command displays all types of log files generated in the specified time range.Log files of the log type are automatically named in the log.log format. You can access the cfcard: directory to view this type of log files. If the size of a log file exceeds the upper threshold, the system automatically saves the file as a historical compression one and changes the file name to log_.log.zip. In the file name, and indicate the slot ID and log generation time, respectively.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display logfile log list starttime 2020/2/1,08:12:12 endtime 2020/2/2,12:17:43 slave
--------------------------------------------------------------------------------
LogType LogFilePath
--------------------------------------------------------------------------------
log slotxx#cfcard:/logfile/log.log
log slotxx#cfcard:/logfile/log_17_20200202061829.log.zip
--------------------------------------------------------------------------------
Item | Description |
---|---|
LogType | Log file type:
|
LogFilePath | Log file path. |