GNOME Bugzilla – Bug 551761
To much is logged
Last modified: 2008-09-22 12:43:40 UTC
Please describe the problem: Even for being a development version I think gnome-session logs to much. Logging to both syslog and to .xsession-errors, with the latter ignoring stuff after a while makes it harder to find problems with other components, is a bit to much in my opinion. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 118540 [details] [review] patch to turn off debugging Indeed. This turns the "debug" flag off by default (though you can re-enable it with --debug), and installs a g_log handler to eat the output of all of the g_debug()s scattered throughout the code when debugging is off. (One of those things that I'd always meant to do, except that while I was still hacking on it, it had never reached the point where you'd actually want to turn off debugging :)
That's exactly what the following is for: gdm_log_set_debug (debug); We just had it turned on by default while we were developing. There's even this: /* FIXME: turn this off closer to release */ :)
oh. i saw the call to gdm_log_set_debug, I just assumed that it only controlled logging related to the interaction between gnome-session and gdm
I turn off debugging by default.