我要评分
获取效率
正确性
完整性
易理解

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 location.

  1. 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).
  2. Switch to the root user.
    1
    su - root
    
  3. Run the following command to query the container ID:
    1
    docker ps -a
    
  4. Run the following command to query real-time server logs. In the command, {android_id} indicates the container ID.
    1
    docker exec -it android_${android_id} logcat -d >> /home/file.log
    
  5. Copy the logs from the corresponding directory on the server to a local directory.

    /home/file.log is the log output path.