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

Exporting Instruction 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.

  1. Use a remote terminal to log in to the server where the instruction stream cloud phone is deployed as the instruction stream cloud phone O&M user (for example, root).
  2. Run the following command to switch to the root user:
    su - root
  3. Run the following command to query the container ID:
    docker ps -a
  4. Run the following command to query real-time server logs. In the command, {kbox_id} indicates the container ID.
    docker exec -it kbox_${kbox_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.