log the user name on session opening for easier debugging stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Wed, 02 Jun 2010 16:05:40 +0000
branchstable
changeset 5638 cea831403e72
parent 5637 b72a838aa109
child 5639 4acb860159e4
log the user name on session opening for easier debugging
server/repository.py
--- a/server/repository.py	Wed Jun 02 15:55:58 2010 +0000
+++ b/server/repository.py	Wed Jun 02 16:05:40 2010 +0000
@@ -574,7 +574,7 @@
         user._cw = user.cw_rset.req = session
         user.clear_related_cache()
         self._sessions[session.id] = session
-        self.info('opened %s', session)
+        self.info('opened session %s for user %s', session.id, login)
         self.hm.call_hooks('session_open', session)
         # commit session at this point in case write operation has been done
         # during `session_open` hooks