View VM logs
The log viewer opens from the Logs button in the upper-right corner of the CVM detail-page header.
Logs in the CVM detail-page header
- Open your app in the Phala Cloud dashboard, then open the CVM instance.
- Click Logs in the CVM detail-page header.
-
Under VM Logs, select a log source:
- Kernel serial output shows the CVM boot and system console output.
- qemu output shows standard output from the QEMU process.
- qemu stderr shows errors written by the QEMU process.

Kernel serial output in the CVM log drawer
View application logs
VM logs describe the CVM and its boot process. To inspect output written by your application, select a container under Docker Containers instead. See View and share Docker container logs for the complete procedure and visibility controls. VM logs do not depend on the Public Logs setting. To read them from a script, see Fetch Logs over HTTP; thephala logs --serial command and the SDK log helpers read them too.
