$ oc logs <virt-launcher-name>
Logs are collected for OpenShift Container Platform Builds, Deployments, and Pods. In container-native virtualization, virtual machine logs can be retrieved from the virtual machine launcher Pod in either the web console or the cli.
The -f
option follows the log output in real time, which is useful for
monitoring progress and error checking.
If the launcher Pod is failing to start, use the
--previous
option to see the logs of the last attempt.
|
Get virtual machine logs from the virtual machine launcher Pod.
User the following command:
$ oc logs <virt-launcher-name>
Get virtual machine logs from the associated virtual machine launcher Pod.
In the container-native virtualization console, click Workloads → Virtual Machines.
click the virtual machine to open the Virtual Machine Details panel.
In the Overview tab, click the virt-launcher-<name>
Pod in the POD
section.
click Logs.