# HG changeset patch # User pierre-yves # Date 1368484603 -7200 # Node ID d8806996ac0166c2598da51c38ed5b50e33488d7 # Parent cb87e831c18364461a8691fa5c6a5a5ed1923b4d [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. diff -r cb87e831c183 -r d8806996ac01 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'))