Eric Blake <eblake@xxxxxxxxxx> wrote on 08/23/2012 04:32:02 PM:
> From:
>
> Eric Blake <eblake@xxxxxxxxxx>
>
> To:
>
> Richa Marwaha/Silicon Valley/IBM@IBMUS
>
> Cc:
>
> libvir-list@xxxxxxxxxx
>
> Date:
>
> 08/23/2012 04:32 PM
>
> Subject:
>
> Re: Guest log getting written in cache directory rather /
> var/log/libvirt/qemu
>
> 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.
>
Thanks a lot Eric for the information.
> --
> Eric Blake eblake@xxxxxxxxxx +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
> [attachment "signature.asc" deleted by Richa Marwaha/Silicon Valley/IBM]
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list