Bug#934655: libglib2.0-0: provide environment variable to suppress or redirect logging

brian m. carlson sandals at crustytoothpaste.net
Thu Aug 15 02:08:49 BST 2019


On 2019-08-14 at 07:09:19, Philip Withnall wrote:
> In every situation where I’ve seen warnings (compile time, or run time)
> hidden from developers, those warnings have very rarely been fixed.
> Making them visible has increased the number of warnings which have
> been fixed.
> 
> Filing bugs against applications, which point out specific warnings
> which need fixing is, I feel, a much better use of people’s time than
> inventing new and innovative ways to hide those warnings.

I've filed bugs #934790 through #934792 for some of the issues I've
seen. From what I understand of the situation, #934791 and #934792 are
likely bugs in GTK or GDK.

As previously mentioned, I'm happy if GLib learns a way to suppress or
redirect logging and that will meet my needs adequately. However, if
that's not something the GNOME developers want to do, then I'm happy to
keep sending any issues I see with GTK or GDK their way.

I'm also suggesting to maintainers of relevant bugs that
g_return*_if_fail could be patched to not warn to standard error, which
would fix the majority of these issues, and would also be a satisfactory
solution from the GLib side, although GTK would still need some
additional patching.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20190815/fd41bda6/attachment-0001.sig>


More information about the pkg-gnome-maintainers mailing list