From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoALO-0006lp-H2 for qemu-devel@nongnu.org; Mon, 19 Oct 2015 09:19:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoALI-0001Wx-Qr for qemu-devel@nongnu.org; Mon, 19 Oct 2015 09:19:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoALI-0001Wn-HY for qemu-devel@nongnu.org; Mon, 19 Oct 2015 09:19:12 -0400 References: <1444894224-9542-1-git-send-email-den@openvz.org> <1444894224-9542-3-git-send-email-den@openvz.org> <87oafzdmck.fsf_-_@blackfin.pond.sub.org> <5620F213.1010908@redhat.com> <20151016132611.GB32625@redhat.com> <5620FBF2.60304@redhat.com> <562106F3.7000000@redhat.com> <876123ro91.fsf@blackfin.pond.sub.org> From: Paolo Bonzini Message-ID: <5624EDCB.3010700@redhat.com> Date: Mon, 19 Oct 2015 15:19:07 +0200 MIME-Version: 1.0 In-Reply-To: <876123ro91.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] What's the intended use of log.h logging? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , Peter Maydell Cc: "Denis V. Lunev" , Luiz Capitulino , QEMU Developers , Stefan Hajnoczi , Pavel Butsykin On 19/10/2015 15:17, Markus Armbruster wrote: > This is at least as much an argument for use of tracing as against it. > Tracing is a lot more flexible than log.h, and with the right backend, > it's much more efficient, too. > > If the appropriate trace patterns turn out to be too hard to remember, > we can provide canned trace patterns with names that are easy to > remember. > > -d could become sugar for a suitable trace patterns. I think that's putting the cart a bit before the horse, since "-d" is currently not related to tracing at all. :) Paolo