Changeset: 8269b6cab44d for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8269b6cab44d Modified Files: clients/python/monetdb/mapi2.py clients/python/monetdb/mapi3.py Branch: Apr2011 Log Message:
Use logger.debug instead of logging.debug. This fixes bug 2829. diffs (24 lines): diff --git a/clients/python/monetdb/mapi2.py b/clients/python/monetdb/mapi2.py --- a/clients/python/monetdb/mapi2.py +++ b/clients/python/monetdb/mapi2.py @@ -237,7 +237,7 @@ while count > 0: try: recv = self.socket.recv(bytes, flags) - logging.debug("II: package size: %i payload: %s" % (len(recv), recv)) + logger.debug("II: package size: %i payload: %s" % (len(recv), recv)) except socket.error, error: raise OperationalError(error[1]) count -= len(recv) diff --git a/clients/python/monetdb/mapi3.py b/clients/python/monetdb/mapi3.py --- a/clients/python/monetdb/mapi3.py +++ b/clients/python/monetdb/mapi3.py @@ -238,7 +238,7 @@ while count > 0: try: recv = self.socket.recv(bytes, flags) - logging.debug("II: package size: %i payload: %s" % (len(recv), recv)) + logger.debug("II: package size: %i payload: %s" % (len(recv), recv)) except socket.error as error: raise OperationalError(error[1]) count -= len(recv) _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list