[connection] add logging method on connection
authorpierre-yves
Tue, 14 May 2013 00:36:43 +0200
changeset 9021 d8806996ac01
parent 9020 cb87e831c183
child 9022 a1cee6915ea3
[connection] add logging method on connection If we are to use this object like we currently do with session, we need to have the logging method as a lot of code use them.
server/session.py
--- a/server/session.py	Thu Jun 13 15:12:06 2013 +0200
+++ b/server/session.py	Tue May 14 00:36:43 2013 +0200
@@ -1486,3 +1486,4 @@
 from logging import getLogger
 from cubicweb import set_log_methods
 set_log_methods(Session, getLogger('cubicweb.session'))
+set_log_methods(Connection, getLogger('cubicweb.session'))