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

[Xen-devel] [PATCH] Log qemu-dm's message with date, time and pid



The qemu-dm's log message doesn't have date, time, and pid. It is
difficult to find out the message we want.

This patch solves the problem without changing the codes which write
messages.

We developed a small program called ioemu-logger. qemu-dm creates a pipe
and starts ioemu-logger. qemu-dm associates a stream with the pipe, and
sets the stream to existing "logfile" variable. When qemu-dm writes a
message to "logfile", ioemu-logger receive it through the pipe and
outputs it with date, time and pid to the actual log file.

Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>

-----------------------
Yosuke Iwamatsu
        NEC Corporation



Attachment: ioemu-logger.patch
Description: all/allfiles

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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