18.3. SPICE Log Files

SPICE logs its activity in several places, including client and guest side logs.

Table 18.3. 

Log Type Log Location To Change Log Level:
SPICE Client (Windows 7)
%temp%\spicex.log
  1. Right click to Computer main menu item, and select Properties.
  2. Select Advanced system settings, and click Environment Variables.
  3. Find the User or System variables, and add a New variable called SPICEX_DEBUG_LEVEL with a value of 4.
SPICE Client (Windows XP)
C:\Documents and Settings\(User Name)\Local Settings\Temp\spicex.log
  1. Right click on My Computer item in main menu, and select Properties.
  2. Select Advanced system settings, and click Environment Variables.
  3. Find the User or System variables, and add a New variable called SPICEX_DEBUG_LEVEL with a value of 4.
SPICE Client (Red Hat Enterprise Linux)
/var/log/messages
Launch Firefox from the command line with SPICE_DEBUG=1 firefox.
USB Redirector on Windows Client
C:\Windows\Temp\usbclerk.log
Not applicable.
Host/Hypervisor SPICE Server
/var/log/libvirt/qemu/(guest_name).log
Run export SPICE_DEBUG_LEVEL=5 on the host/hypervisor prior to launching the guest.
Windows Guest
C:\Windows\Temp\vdagent*
C:\Windows\Temp\vdservice*
Not applicable
Red Hat Enterprise Linux Guest
/var/log/spice-vdagentd.log
  1. Copy the example logging configuration file at /usr/share/doc/spice-vdagent-{version}/rsyslog.conf over top of /etc/rsyslog.d/spice-vdagentd.conf
  2. Restart the rsyslog service.