KVM services logging
When discussing KVM services logging, there are a couple of locations that we need to be aware of:
- Let's say that you're logged in as root in the GUI and that you started virt-manager. This means that you have a
virt-manager.logfile located in the/root/.cache/virt-managerdirectory. It's really verbose, so be patient when reading through it. - The
/etc/libvirt/libvirtd.conffile is libvirtd's configuration file and contains a lot of interesting options, but some of the most important options are actually located almost at the end of the file and are related to auditing. You can select the commented-out options (audit_levelandaudit_logging) to suit your needs. - The
/var/log/libvirt/qemudirectory contains logs and rotated logs for all of the virtual machines that were ever created on our KVM host.
Also, be sure to check out a command called auvirt. It's really handy as it tells you basic information about the virtual...