Logcat Logs
If an exception occurs during container running, you can query logs to locate the fault. To query the logcat logs of the Kbox cloud phone container in real time, run the following command. ${index} indicates the ID of the started instance.
1 | docker exec -it kbox_${index} logcat |
To save the logcat logs of the container, run the following command to save the logs to the log.log file in the current directory. The log storage path and log file name can be changed as required.
1 | docker exec -it kbox_${index} logcat -d >> ./log.log |
Parent topic: Kbox Cloud Phone Container Logs