Exporting Video Stream Cloud Phone Logs
The log export function enables you to view logs on the local IDE and quickly locate faults, preventing real-time log printing from affecting fault locating.
- Use an SSH tool such as Xshell to log in to the server where the video stream cloud phone is deployed as the cloud phone O&M user (for example, root).
- Switch to the root user.
1su - root
- Run the following command to query the container ID:
1docker ps -a
- Run the following command to query real-time server logs. In the command, {android_id} indicates the container ID.
1docker exec -it android_${android_id} logcat -d >> /home/file.log
- Copy the logs from the corresponding directory on the server to a local directory.
/home/file.log is the log output path.
Parent topic: Log Management