From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Wolf Subject: Re: [PATCH] Log qemu-dm's message with date, time and pid Date: Thu, 26 Jun 2008 13:20:54 +0200 Message-ID: <48637B96.9090606@suse.de> References: <486322FE.3070304@ab.jp.nec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <486322FE.3070304@ab.jp.nec.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yosuke Iwamatsu Cc: Yuji Shimada , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Yosuke Iwamatsu schrieb: > 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. Why do you need yet another executable for this rather small piece of functionality? Shouldn't it be possible to do that all in qemu-dm itself (and possibly with even less code)? Kevin