Implement event logging for Sessions.

Change-Id: I615811eb08699f6c2435d8eed8288d01661f432e