After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692241 - main: Make SIGUSR2 print a line in the debug output
main: Make SIGUSR2 print a line in the debug output
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
unspecified
Other All
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-21 22:08 UTC by Bastien Nocera
Modified: 2013-01-22 06:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
main: Make SIGUSR2 print a line in the debug output (1.23 KB, patch)
2013-01-21 22:08 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2013-01-21 22:08:34 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.
Comment 1 Bastien Nocera 2013-01-21 22:08:36 UTC
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.
Comment 2 Colin Walters 2013-01-21 22:59:52 UTC
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.
Comment 3 Bastien Nocera 2013-01-22 06:36:05 UTC
metacity/mutter has something quite similar:
http://git.gnome.org/browse/mutter/tree/src/core/keybindings.c#n3635
Comment 4 Bastien Nocera 2013-01-22 06:37:03 UTC
Attachment 234051 [details] pushed as e9198a0 - main: Make SIGUSR2 print a line in the debug output