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 711626 - ShellApp: Connect applications to systemd journal (if available)
ShellApp: Connect applications to systemd journal (if available)
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-11-07 17:37 UTC by Colin Walters
Modified: 2013-11-07 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ShellApp: Connect applications to systemd journal (if available) (3.95 KB, patch)
2013-11-07 17:37 UTC, Colin Walters
none Details | Review
ShellApp: Connect applications to systemd journal (if available) (3.98 KB, patch)
2013-11-07 17:39 UTC, Colin Walters
committed Details | Review

Description Colin Walters 2013-11-07 17:37:10 UTC
Systemd-for-the-user-session would also do this, but that's a deeply
invasive change that I may not actually get to this cycle.  This
change is tiny and non-invasive, but provides an important benefit:
You can actually reliably tell *which* applications are logging which
messages (assuming they're launched by the shell).

This actually complements a recent change in DBus: See
https://bugs.freedesktop.org/show_bug.cgi?id=54445 which does a
similar thing for bus activated apps.
Comment 1 Colin Walters 2013-11-07 17:37:12 UTC
Created attachment 259205 [details] [review]
ShellApp: Connect applications to systemd journal (if available)
Comment 2 Colin Walters 2013-11-07 17:39:12 UTC
Created attachment 259206 [details] [review]
ShellApp: Connect applications to systemd journal (if available)

Also close the journalfd when we're done with dups
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-11-07 18:42:37 UTC
Review of attachment 259206 [details] [review]:

OK.
Comment 4 Colin Walters 2013-11-07 19:02:10 UTC
Attachment 259206 [details] pushed as 213ee8d - ShellApp: Connect applications to systemd journal (if available)