[Spice-devel] [PATCH spice-gtk] Replace spice_printerr() with g_warning()
Christophe Fergeau
cfergeau at redhat.com
Mon Jul 2 08:18:07 UTC 2018
On Fri, Jun 29, 2018 at 02:56:06PM -0400, Frediano Ziglio wrote:
> >
> > On Thu, Jun 28, 2018 at 04:38:21PM +0100, Frediano Ziglio wrote:
> > > The remaining occurrences of spice_printerr() are warnings when
> > > something unexpected happens, they can be replaced with g_warning() so
> > > that users of spice-server can redirect them with
> > > g_log_set_default_handler().
> >
> > Maybe squash this in?
> >
> > Either way, Acked-by: Christophe Fergeau <cfergeau at redhat.com>
> >
>
> I can do a follow up but IMO they don't see to help much, surely
> is the display channel and knowing the id of which one means
> that you have multiple video running on the same VM.
> I mean, looks like a peculiar situation you don't want to
> have so many detail in the normal case...
Imo, we should always prefix log messages with the channel name when
they are related to a channel. This way when I look at eg a sound
channel issue, if I get this warning at the same time, I don't have to
wonder if 'stream' relates to sound somehow, or if it's something
different.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180702/79a76ace/attachment.sig>
More information about the Spice-devel
mailing list