CANN App Logs
File Description
- File content: Records App logs printed by CANN, including the host App logs (plog-{pid}-{time}.log) and device App logs (device-{pid}-{time}.log). For more log information, see "Viewing Logs (Ascend EP)" in CANN Log Reference.
- Naming constraints: plog-{pid}-{time}.log and device-{pid}-{time}.log
- Constraints on the storage path:
- Collection_directory/
- ${--process_log}/
- Directory structure:
|-- process_log |-- debug |--plog # Directory of host App logs |--plog-{pid}-{Unix time}.log |--device-0 # Directory of device App logs |--device-{pid}-{unix time}.log |--device-1 |--device-2 |--… |-- run |--operation |--security
Collection Mode Description
The CANN App logs are stored in ${HOME}/ascend/log by default. The log storage path can be customized using the environment variable ASCEND_PROCESS_LOG_PATH.
export ASCEND_PROCESS_LOG_PATH=${Custom_directory_path}
This feature requires that CANN App logs be dumped to Collection_directory/process_log. For details about the format restrictions, see File Description.
Parent topic: Collection After Training or Inference