[ACCEPTED]-How can I set the log level in glib-glib
Accepted answer
I have asked this question quite a while 8 ago. However things have changed in newer 7 glib version which I just have discovered.
Since 6 glib version 2.32 debug messages are disabled 5 and not shown by default. If you want to 4 turn them on the environment variable G_MESSAGES_DEBUG 3 needs to be set to all.
G_MESSAGES_DEBUG=all /path/to/application
This option might 2 be suitable for you and there is no need 1 for a log handler.
See details http://developer.gnome.org/glib/2.32/glib-running.html
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.