昇腾社区首页
中文
注册

Device侧日志

文件说明

  • 文件说明:device侧日志文件。
  • 命名约束:device-os_{time}.log、event_{time}.log、device-{id}_{time}.log、history.log。
  • 存放路径约束:
    • 采集目录/device_log
    • ${--device_log}/
  • 目录结构:
    Ascend HDK 23.0.RC3版本:
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    |--device_log   
        |-- slog
            |-- dev-os-3
                |-- debug
                    |--device-os 
                        |-- device-os_{time}.log # Device侧Control CPU上的系统类日志
                |-- run
                    |--device-os 
                        |-- device-os_{time}.log # Device侧Control CPU上的系统类日志
                |--device-0
                    |--device-0_{time}.log   # Device侧非Control CPU上的系统类日志
                |--device-2
                |--…
                |--slogd
                |--device_sys_init_ext.log
            |-- dev-os-7
            |--     |--hisi_logs
            |-- device-0
                |--             |-- history.log     # 黑匣子日志
            |-- device-2
            |--         |-- device_info.txt
    

    Ascend HDK 23.0.3及以上版本:

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    |--device_log   
        |-- slog
            |-- dev-os-3
                |-- debug
                    |--device-os 
                        |-- device-os_{time}.log # Device侧Control CPU上的系统类日志
                    |--device-0
                        |--device-0_{time}.log   # Device侧非Control CPU上的系统类日志
                    |--device-2
                    |--…
                |-- run
                    |--device-os 
                        |-- device-os_{time}.log # Device侧Control CPU上的系统类日志
                    |--event
                        |-- event_{time}.log # Device Control CPU 的EVENT级别系统日志
                |--…
                |--slogd
                |--device_sys_init_ext.log
            |-- dev-os-7
            |--     |--hisi_logs
            |-- device-0
                |--             |-- history.log     # 黑匣子日志
            |-- device-2
            |--         |-- device_info.txt
    

采集方式说明

执行命令采集Device侧日志。

msnpureport
  • 执行完成后会在当前目录下生成一个时间戳的文件夹,请用户将该时间戳目录下“slog”“hisi_logs”文件夹转储至“采集目录/device_log”下。
  • 若采集日志失败,请参考FAQ:日志没有正常落盘进行处理。