In my Fedora, I couldn't find the file in the mentioned path. I got it
finally from
/var/log/libvirt/qemu/<domain>.log
Thanks a lot for the help.

Regards
Toms Varghese

On Mon, Mar 23, 2015 at 6:17 PM, Stefan Hajnoczi <stefa...@gmail.com> wrote:

> On Thu, Mar 19, 2015 at 12:17:29AM +0530, Toms Varghese wrote:
> > Hi all,
> >
> > I can see some fprintf (stderr, ...) statements in qemu source code. I
> > expect the output to be shown in  the terminal window. I use libvirt to
> > manage my VMs and hence have no idea about the exact qemu command line
> > being used. From the comments in the below post
> >
> http://blog.vmsplice.net/2011/03/how-to-write-trace-analysis-scripts-for.html
> > I found that libvirt is supposed to store the stderr outputs
> > in /var/lib/libvirt/qemu/.log file. But I am unable to find any such log
> > file in /var/lib/libvirt/qemu. Can anyone please tell me how to get the
> > output of fprintfs in this case as it would help me a lot?
> > I am using fedora 21, qemu 2.0.2 and libvirt 1.2.9.2.
>
> The file name is:
> /var/lib/libvirt/qemu/<domain>.log
>
> It includes the QEMU command-line as well as stderr output.
>
> Stefan
>

Reply via email to