diff options
author | a7x <ubuntu-a7x@scientician.org> | 2013-08-14 16:14:16 -0400 |
---|---|---|
committer | a7x <ubuntu-a7x@scientician.org> | 2013-08-14 16:14:16 -0400 |
commit | 433a3a48067c57a0b3fc98e115710315a2a086b0 (patch) | |
tree | 2cb8a53ee538d260f1c4a738241b8497c18a2206 /src/session.h | |
parent | 89c7512b7dc82135eeb069ab6b82f397efa9db7d (diff) | |
download | lightdm-433a3a48067c57a0b3fc98e115710315a2a086b0.tar.gz |
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.
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h index eb2dad4c..11182b5c 100644 --- a/src/session.h +++ b/src/session.h @@ -21,6 +21,7 @@ typedef struct Session Session; #include "display-server.h" #include "accounts.h" #include "x-authority.h" +#include "logger.h" G_BEGIN_DECLS |