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

Re: [Xen-devel] redirect qemu-dm log to syslog



On Thu, 7 Feb 2013, Vasiliy Tolstov wrote:
> I'm search mailing list and can't see any questions and answers...
> Is that possible (and how) to redirect qemu-dm output (stored in
> /var/log/xen/qemu-dm-xxx.log) to syslog and not write to file?

Not easily, unless you find a way to capture QEMU's stdout and stderr
and send it to syslog using an external tool. You can replace the QEMU
binary with a script that spawns QEMU and a syslog logger to do this.

You can also play nasty tricks with preprocessor macros and turn all
QEMU's printf into syslog calls. Of course such a patch wouldn't be
acceptable upstream.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.