GNOME Bugzilla – Bug 672026
default log output should include pid and/or prgname
Last modified: 2012-03-14 00:15:38 UTC
Guessing what's writing into .xsession-errors isn't a whole lot of fun.
Created attachment 209667 [details] [review] glib-init: restore default for G_MESSAGES_PREFIXED In the glib-init shuffle this ended up being set to no messages prefixed by default. Fix that so that we have prefixes back.
Created attachment 209668 [details] [review] g_log: mask log level before checking prefix flags We check if the log level is in the "prefixed" list by checking it against the g_log_msg_prefix bitfield. Unfortunately we were failing to mask by G_LOG_LEVEL_MASK first, so if the FATAL bit was set (for example) then it would never match. This was the case for g_error().
Attachment 209667 [details] pushed as 545736c - glib-init: restore default for G_MESSAGES_PREFIXED Attachment 209668 [details] pushed as fbbdf98 - g_log: mask log level before checking prefix flags