// Module included in the following assemblies:
//
// * virt/support/virt-troubleshooting.adoc

:_mod-docs-content-type: PROCEDURE
[id="virt-enable-guest-log-default-cli_{context}"]
= Enabling default access to VM guest system logs with the CLI

You can enable default access to VM guest system logs by editing the `HyperConverged` custom resource (CR).

.Procedure

. Open the `HyperConverged` CR in your default editor by running the following command:
+
[source,terminal,subs="attributes+"]
----
$ oc edit hyperconverged kubevirt-hyperconverged -n {CNVNamespace}
----

. Update the `disableSerialConsoleLog` value. For example:
+
[source,yaml]
----
kind: HyperConverged
metadata:
  name: kubevirt-hyperconverged
spec:
  virtualMachineOptions:
    disableSerialConsoleLog: true <1>
#...
----
<1> Set the value of `disableSerialConsoleLog` to `false` if you want serial console access to be enabled on VMs by default.