[virt-tools-list] [PATCH virt-viewer] Only filter virt-viewer debug messages
Jonathon Jongsma
jjongsma at redhat.com
Fri Jul 11 16:43:55 UTC 2014
Hi,
----- Original Message -----
> From: "Marc-André Lureau" <marcandre.lureau at gmail.com>
> To: virt-tools-list at redhat.com
> Sent: Friday, July 11, 2014 8:48:52 AM
> Subject: [virt-tools-list] [PATCH virt-viewer] Only filter virt-viewer debug messages
>
> Filter only our own debug messages.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1118365
> ---
> src/virt-viewer-util.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/virt-viewer-util.c b/src/virt-viewer-util.c
> index 6fdaa07..e3db4a9 100644
> --- a/src/virt-viewer-util.c
> +++ b/src/virt-viewer-util.c
> @@ -283,7 +283,8 @@ static void log_handler(const gchar *log_domain,
> const gchar *message,
> gpointer unused_data)
> {
> - if (glib_check_version(2, 32, 0) != NULL)
> + if (glib_check_version(2, 32, 0) != NULL &&
> + g_str_equal(G_LOG_DOMAIN, log_domain))
> if (log_level >= G_LOG_LEVEL_DEBUG && !doDebug)
> return;
>
> --
> 1.9.3
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
>
Christophe already fixed this issue, i think. But it looks like his v2 patch didn't get an ACK: https://www.redhat.com/archives/virt-tools-list/2014-June/msg00273.html
More information about the virt-tools-list
mailing list