diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb53a2e6e15dcd22a7f888a70be5717933756dc..96ea0318df16bd3b56b0842f84f684b5d03bcfc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,3 +9,4 @@ have been made so far, between releases. gained no boost from __slots__ being specified for them whatsoever * fixed __str__ in `AMQPContentPropertyList` * added __slots__ to `AMQPFrame` +* removed redundant logging in `coolamqp.uplink.connection.connection` diff --git a/coolamqp/framing/base.py b/coolamqp/framing/base.py index 3cb4c953deafaa0ab02104c17474597437c92863..86847e98e908063597e2dc97520c0b2fb024e935 100644 --- a/coolamqp/framing/base.py +++ b/coolamqp/framing/base.py @@ -103,7 +103,7 @@ class AMQPContentPropertyList(object): def __str__(self): # type: () -> str values = {} - for field_name in self.__class__.__slots__(): + for field_name in self.__class__.__slots__: values[field_name] = getattr(self, field_name) return '<AMQPContentPropertyList (%s)>' % (values, ) diff --git a/coolamqp/uplink/connection/connection.py b/coolamqp/uplink/connection/connection.py index f17ebee29a9b49b3f23218d7fcf2a744b6cfe596..bc157f117b765db7ad14049ca1d0ac9fadf9e225 100644 --- a/coolamqp/uplink/connection/connection.py +++ b/coolamqp/uplink/connection/connection.py @@ -285,9 +285,6 @@ class Connection(object): watch_handled = False # True if ANY watch handled this - if isinstance(frame, AMQPMethodFrame): - logger.debug('[%s] Received %s', self.uuid, frame.payload.NAME) - # ==================== process per-channel watches # # Note that new watches may arrive while we process existing watches.