7.13 console-log Command
Use the --console-log
command to manage logging of console
output for an Oracle Linux KVM
guest.
Syntax
vm_maker --console-log { enable | disable | status } --domain guest_name [ --restart-domain ]
Options
-
--console-log enable
: Configures the specified guest to write console output to a log file.Enabling logging on a guest where logging was previously disabled requires a guest restart to implement the change. You can use the
--restart-domain
option or restart the guest separately. -
--console-log disable
: Configures the specified guest to not write console output to a log file.Disabling logging on a guest where logging was previously enabled requires a guest restart to implement the change. You can use the
--restart-domain
option or restart the guest separately. --console-log status
: Reports the console logging status for the specified guest.- guest_name: The name of an the existing guest that is the subject of the command.
--restart-domain
: Optionally restarts the specified guest to implement a console logging change. This option is only valid in conjunction with--console-log enable
or--console-log disable
.
Parent topic: VM_MAKER Command Reference