GNOME Bugzilla – Bug 692241
main: Make SIGUSR2 print a line in the debug output
Last modified: 2013-01-22 06:37:06 UTC
I want to use this in gnome-settings-daemon's power plugin tests to ensure that interaction between g-s-d and gnome-session is correct.
Created attachment 234051 [details] [review] main: Make SIGUSR2 print a line in the debug output To make it easier to find specific events in the debug output.
Review of attachment 234051 [details] [review]: Kind of ad-hoc, we should eventually figure out some better mechanism to modify the run-time debug logging, but this looks fine for now.
metacity/mutter has something quite similar: http://git.gnome.org/browse/mutter/tree/src/core/keybindings.c#n3635
Attachment 234051 [details] pushed as e9198a0 - main: Make SIGUSR2 print a line in the debug output