Re: Guest log getting written in cache directory rather /var/log/libvirt/qemu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/23/2012 02:19 PM, Richa Marwaha wrote:
> 
> Hi Everyone
> 
> I am running libvirt with selinux driver under unprivileged user and the
> Guest.log file is not written into /var/log/libvirt/qemu/Guest.log but
> remains in Home Directory/.cache/libvirt/qemu/log/Guest.log.
> Does anyone know why its not writing to the required log location.

That _is_ the desired default location for qemu:///session, and can be
further tuned by setting appropriate values for XDG_CONFIG_DIR
(defaulting to $HOME/.config) and contents of
$XDG_CONFIG_DIR/libvirt/libvirtd.conf (set the log_outputs config
variable).  Only qemu:///system (for privileged users) has permissions
to write into /var/log.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]