[Spice-devel] [spice-server v3 6/8] Use spice_debug rather than spice_info in library code

Christophe Fergeau cfergeau at redhat.com
Wed Feb 8 10:42:13 UTC 2017


On Wed, Feb 08, 2017 at 10:57:42AM +0100, Pavel Grunt wrote:
> On Mon, 2017-02-06 at 18:15 +0100, Christophe Fergeau wrote:
> > Using spice_info() gets in the way of tests
> 
> I would say that is the problem of the test, it is possible to check
> the INFO level as well. imo spice_info messages are useful

The test could ignore all info messages indeed. However (on f25), I
don't see a lot of difference between DEBUG and INFO levels, neither are
shown unless G_MESSAGES_DEBUG=all is specified. Are you saying having
the distinction between spice_info and spice_debug in this debug log is
useful? To me, usage of one or the other seemed fairly random.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170208/37799963/attachment.sig>


More information about the Spice-devel mailing list