<log>

Specifies a log file which is associated with the virtual server console output.

Text content

None.

Selected attributes

file
Specifies the fully qualified path and filename of the log file.
append=off | on
Specifies whether the information in the file is preserved (append=on) or overwritten (append=off) on a virtual server restart.

Usage

Configuring the console

Parent elements

<console>

Child elements

None.

Example

<devices>
    ...
    <console type="pty">
        <target type="sclp"/> 
        <log file="/var/log/libvirt/qemu/vserv-cons0.log" append="off"/>
    </console>
</devices>