Logging for sessions.

LMS-6630