From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjpYr-0005Uq-Ii for qemu-devel@nongnu.org; Tue, 13 Sep 2016 11:23:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjpYm-0004Sa-FE for qemu-devel@nongnu.org; Tue, 13 Sep 2016 11:23:48 -0400 References: <1473745333-7548-1-git-send-email-jcody@redhat.com> <1473745333-7548-2-git-send-email-jcody@redhat.com> From: Eric Blake Message-ID: <8ef98a4a-c44b-3074-e213-7b7e46c66410@redhat.com> Date: Tue, 13 Sep 2016 10:23:32 -0500 MIME-Version: 1.0 In-Reply-To: <1473745333-7548-2-git-send-email-jcody@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JgxMeSbp76cqPOVrktVXPKSswwx2Ww5AG" Subject: Re: [Qemu-devel] [PULL 1/2] block/gluster: add support to choose libgfapi logfile List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jeff Cody , qemu-block@nongnu.org Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JgxMeSbp76cqPOVrktVXPKSswwx2Ww5AG From: Eric Blake To: Jeff Cody , qemu-block@nongnu.org Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org Message-ID: <8ef98a4a-c44b-3074-e213-7b7e46c66410@redhat.com> Subject: Re: [Qemu-devel] [PULL 1/2] block/gluster: add support to choose libgfapi logfile References: <1473745333-7548-1-git-send-email-jcody@redhat.com> <1473745333-7548-2-git-send-email-jcody@redhat.com> In-Reply-To: <1473745333-7548-2-git-send-email-jcody@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/13/2016 12:42 AM, Jeff Cody wrote: > From: Prasanna Kumar Kalever >=20 > currently all the libgfapi logs defaults to '/dev/stderr' as it was har= dcoded > in a call to glfs logging api. When the debug level is chosen to DEBUG/= TRACE, > gfapi logs will be huge and fill/overflow the console view. >=20 > This patch provides a commandline option to mention log file path which= helps > in logging to the specified file and also help in persisting the gfapi = logs. >=20 > +++ b/qapi/block-core.json > @@ -2154,13 +2154,16 @@ > # > # @debug-level: #optional libgfapi log level (default '4' which is Err= or) > # > +# @logfile: #optional libgfapi log file (default /dev/stderr) > +# > # Since: 2.7 logfile missed 2.7; please add a '(since 2.8)' designator on the @logfile line as a followup patch. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --JgxMeSbp76cqPOVrktVXPKSswwx2Ww5AG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJX2Bn0AAoJEKeha0olJ0NqeZwH/0Dy6gFJISTe7VEH3WeCN3IQ 987zazCrudbA934vK5Dj99KUr0ZwYcMmc7L/sIv2fAZ1MRIjtYLCk5Wuy6Y2f97k 8ozVpAWtYRQndi12Y07FmxaGVllzP6XuSrf1vXBInNEE6Khz+SyMd/XGzh2FvP6B bbBEc8tpm1Ld8OQdiU2T0BOBzJlD7ZNLZeq5u7/neucO4wkRqWsKKILnGpv9VoCp UcBo1a7T4Bi8byqRHkuMn2DIUq7HiSLRpAiVnGdfzSi8i1EdlHA8tr49ndobyYrI jDsJOBb1d4w+kyr4pUcn4wG+44GvdK/zAa3zSBH+cKT0Re1FHTF0/drjIqDetwg= =+Eah -----END PGP SIGNATURE----- --JgxMeSbp76cqPOVrktVXPKSswwx2Ww5AG--