~robert-ancell/lightdm/multiseat-logging-whitespace

Viewing all changes in revision 1759.

  • Committer: a7x
  • Date: 2013-08-04 07:11:52 UTC
  • Revision ID: ubuntu-a7x@scientician.org-20130804071152-7p0x3ig2bhb62vsl
have Session implement the Logger interface

This is a step toward logging the session PID in each Session
log message, which will make it easier to debug multiseat setups.

The PID is set to 0 when the Session process terminates, so it is not
possible to follow a Session's complete lifetime in the logs.  But
it's better than nothing.

A future commit could easily change this to log some other identifier,
such as the associated Display or Seat name, or the PID before the
process terminated.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: