Log Storage Rules

Logs are stored in $HOME/.cache/Huawei/mxTuningKit/log/, and the directory structure is as follows:

$HOME/.cache/Huawei/mxTuningKit/
└──log
  ├── node_0                            # Node ID
    ├── device_0			# Device ID
	  ├── service.log		# Service log
	  ├── operation.log             # Operation log
    ├── device_1
  ├── node_1
  ...    
  • The device and node IDs are determined by DEVICE_ID and SERVER_ID in the environment variables.
  • Each log is recorded in the following format:
    [Log level] time process ID : log content

    Example: [INFO] 2022-09-08 15:49:51,408 [83390] [CLI]: xxxxx

  • The component captures the standard output during model running, such as print and logging, and record it in the following format:
    Time process ID : log content

    Example: 2022-09-08 15:49:51,408 [83390] [Model] : xxxxx