Log messages
These logs are created.
- libvirt log messages
- By default, libvirt log messages are stored in the system journal. You can specify a different location in the libvirt configuration file at /etc/libvirt/libvirtd.conf. For more information, see libvirt.org/logging.html.
- QEMU log file of a virtual server
- /var/log/libvirt/qemu/<VS>.log, where <VS> is the name of the virtual server.
- Console log file
- If the log element is specified in the console configuration, the log file attribute indicates
the console log file.Example:The following console configuration specifies the console log file /var/log/libvirt/qemu/vserv-cons0.log:
<devices> ... <console type="pty"> <target type="sclp" port="0"/> <log file="/var/log/libvirt/qemu/vserv-cons0.log" append="on"/> </console> </devices>