William Harrington wrote:
On Fri, 13 Oct 2017 14:22:29 -0500
Bruce Dubbs <[email protected]> wrote:

This patch should change nothing unless the environment variable
GLIB_LOG_LEVEL is set.  The values are numeric:

0  Emergency
1  Alert
2  Critical
3  Error
4  Warning
5  Notice
6  Info
7  Debug

So if you want to disable messages at the Warning level or above, you use:

export GLIB_LOG_LEVEL=4

> Is not G_MESSAGES_DEBUG not enough?
> https://developer.gnome.org/glib/2.54/glib-running.html

I don't think so.  From the url:

"G_MESSAGES_DEBUG. A space-separated list of log domains for which informational and debug messages should be printed. By default, these messages are not printed. You can also use the special value all. This environment variable only affects the default log handler, g_log_default_handler()."


First of all, it is not clear to me what a 'log domain' is.
Second, it mentions info and debug messages, but not warning or notice messages. My problem is seeing tons of warning messages:

(qemu:7756): Gtk-WARNING **: Allocating size to GtkScrollbar 0x90b16062c0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to