Viewing Log Information
This section describes the log path and related permission information.
MEF Center Logs
After MEF Center is successfully installed, the log paths are as follows (the default installation path is /var):
- Installation logs: Log path/mef-center-log/mef-center-install
- Run logs: Log path/mef-center-log/mef-center-install/mef-center-install-run.log
The time read by mef-center-install-run.log is the host time, and the time read by other MEF Center logs is the container time.
- Operation logs: Log path/mef-center-log/mef-center-install/mef-center-install-operate.log
- Logs of each module: Log path/mef-center-log/Module name
Viewing MEF Edge Logs
For details about process run logs or software installation logs generated during MEF Edge installation, see Table 1. If the log root path is the default path /var/alog, logs are recorded in /var/alog/MEFEdge_log. The permission on the log folder of each component is 750, and the permission on the log file is 640. The time when MEF Edge logs are read is the host time.
- Run logs of MEF Edge installation and deployment: /var/alog/MEFEdge_log/edge_installer/edge_installer_run.log
- Operation logs of MEF Edge installation and deployment: /var/alog/MEFEdge_log/edge_installer/edge_installer_operate.log
Collecting MEF Edge Logs
You can run commands to collect log files of each MEF Edge module and save them to a specified path.
- Log in to the MEF Edge device environment as the root user.
- Go to the path where run.sh is stored. The default installation directory is /usr/local/mindx.
cd Installation_directory/MEFEdge/software/
- Run the following command to create the directory where the log collection file is stored:
mkdir -p /run/collect_log
- Run the following command to collect MEF Edge logs:
Parent topic: Common Operations