Run Log Management
Prerequisites
You have logged in to the Kunpeng DevKit.
- Only the administrator devadmin can view and download run logs and change the run log level.
- The administrator can click
and choose System Settings from the General Settings drop-down list to set the Run Log Level. The logs of the specified level and higher levels will be recorded.
Procedure
- Click
in the upper right corner. Choose General Settings > Log Management. - Select the required log module and click Download to obtain the corresponding run logs.
The run log downloaded is in the following format:
[Time] [Log level] [Process ID] [Thread name] [Module name: Function name: Line number] Log details
Example:
1[2023-06-30 09:50:21] [INFO] [processID:18508] [MainThread][solution_api:get_solution_category:143] get_solution_category
The log level indicates the importance of the log information. The default log level is INFO. The run logs of the tool are classified into the five levels: DEBUG, INFO, WARNING, ERROR and CRITICAL.- DEBUG: debugging information for fault locating.
- INFO: key information about the normal running of the service.
- WARNING: events about the system in unexpected status that does not affect the running of the system.
- ERROR: errors that may not affect the application running.
- CRITICAL: critical errors that cause the application improper running.
Parent topic: Log Management
