Received: from eggs.gnu.org ([2001:4830:134:3::10]:60914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaixI-0002bg-Q1 for qemu-devel@nongnu.org; Sat, 12 Sep 2015 07:26:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaixF-0001c3-JC for qemu-devel@nongnu.org; Sat, 12 Sep 2015 07:26:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaixF-0001bz-Dj for qemu-devel@nongnu.org; Sat, 12 Sep 2015 07:26:49 -0400 From: Markus Armbruster References: <1439212541-16997-1-git-send-email-stefanha@redhat.com> Date: Sat, 12 Sep 2015 13:26:46 +0200 In-Reply-To: <1439212541-16997-1-git-send-email-stefanha@redhat.com> (Stefan Hajnoczi's message of "Mon, 10 Aug 2015 14:15:41 +0100") Message-ID: <878u8bev49.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2] error: only prepend timestamp on stderr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Seiji Aguchi , qemu-devel@nongnu.org, Frank Schreuder Stefan Hajnoczi writes: > The -msg timestamp=on option prepends a timestamp to error messages. > This is useful on stderr where it allows users to identify when an error > was raised. > > Timestamps do not make sense on the monitor since error_report() is > called in response to a synchronous monitor command and the user already > knows "when" the command was issued. Additionally, the rest of the > monitor conversation lacks timestamps so the error timestamp cannot be > correlated with other activity. > > Only prepend timestamps on stderr. This fixes libvirt's 'drive_del' > processing, which did not expect a timestamp. Other QEMU monitor > clients are probably equally confused by timestamps on monitor error > messages. > > Cc: Markus Armbruster > Cc: Seiji Aguchi > Cc: Frank Schreuder > Cc: Daniel P. Berrange > Signed-off-by: Stefan Hajnoczi I'll take this through my tree. Thanks!