use sessionid in log message stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Sat, 19 Jun 2010 16:08:54 +0200
branchstable
changeset 5799 93f4b4d2fecf
parent 5798 74d9a062965c
child 5800 2bc88fb424bc
use sessionid in log message
web/views/sessions.py
--- a/web/views/sessions.py	Sat Jun 19 16:08:08 2010 +0200
+++ b/web/views/sessions.py	Sat Jun 19 16:08:54 2010 +0200
@@ -82,7 +82,7 @@
         """close session on logout or on invalid session detected (expired out,
         corrupted...)
         """
-        self.info('closing http session %s' % session)
+        self.info('closing http session %s' % session.sessionid)
         del self._sessions[session.sessionid]
         try:
             session.cnx.close()