From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEyhW-0004VR-Uv for qemu-devel@nongnu.org; Wed, 06 Aug 2014 06:44:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEyhV-0007Ql-Pc for qemu-devel@nongnu.org; Wed, 06 Aug 2014 06:44:10 -0400 Received: from mail-vc0-x235.google.com ([2607:f8b0:400c:c03::235]:57246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEyhV-0007Qd-M6 for qemu-devel@nongnu.org; Wed, 06 Aug 2014 06:44:09 -0400 Received: by mail-vc0-f181.google.com with SMTP id lf12so3615336vcb.26 for ; Wed, 06 Aug 2014 03:44:09 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <201407251442088727201@sangfor.com> <874my5hh4s.fsf@linaro.org> <201407251907132706648@sangfor.com> <53D25991.3010001@suse.de> <201407261028057289331@sangfor.com> <53D7FB52.3080801@redhat.com> From: William Dauchy Date: Wed, 6 Aug 2014 12:43:48 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [questions] about qemu log List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: =?UTF-8?B?QWxleCBCZW5uw6ll?= , Zhang Haoyu , =?UTF-8?Q?Andreas_F=C3=A4rber?= , qemu-devel On Wed, Aug 6, 2014 at 12:40 AM, Peter Crosthwaite wrote: > Well -D will log to file only loggable (i.e. qemu_log()) information > (which has all sorts of options and switches). Stderr, is a little > more static and should in theory be limited to genuine errors. But if > you want a combined log of both you can simply omit -D to default > qemu_log output to stderr. This gives you a combined log that you can > redirect anywhere. To be honest, this is what I do as a matter of > course (2> foo rather than -D foo). understood; this make it incompatible with -daemonize option. there should be a possibility to detach the process and also redirect stderr somewhere. -- William