GNOME Bugzilla – Bug 707421
Improve handling of warnings and criticals
Last modified: 2018-02-05 09:31:02 UTC
Instead of squash everything into "window manager warnings", let the glib log framework handle Mutter (and other) warnings. META_USE_LOGFILE support is preserved by rerouting warnings in our domain. This way we get process name and PID, nice CRITICAL/WARNING/ERROR instead of a number, and the ability for plugins to override the log handler. For example gnome-shell uses this to output a JS backtrace.
Created attachment 254019 [details] [review] Improve handling of warnings and criticals
Review of attachment 254019 [details] [review]: Welcome to the club! https://bugzilla.gnome.org/show_bug.cgi?id=622441 =)
I know, I was already in the club: https://bugzilla.gnome.org/show_bug.cgi?id=637573 But the world is different now, metacity is dead, half of the libraries are not covered by that log handler, and we have JS backtraces in the shell.
Going to close this as a duplicate of 622441 to have less of the same task in the list. *** This bug has been marked as a duplicate of bug 622441 ***