Commit bc6d6810 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix msg_id logging, they are 32-bits wide.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@920 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 0ff7ad06
......@@ -274,7 +274,7 @@ class Connection(BaseConnection):
Process a pending packet.
"""
packet = self._dequeue()
logging.debug('#0x%04x %-30s from %s (%s:%d)', packet.getId(),
logging.debug('#0x%08x %-30s from %s (%s:%d)', packet.getId(),
packet.getType(), dump(self.uuid), *self.getAddress())
self.handler.packetReceived(self, packet)
......@@ -341,7 +341,7 @@ class Connection(BaseConnection):
if self.connector is None:
return
logging.debug('#0x%04x %-30s to %s (%s:%d)', packet.getId(),
logging.debug('#0x%08x %-30s to %s (%s:%d)', packet.getId(),
packet.getType(), dump(self.uuid), *self.getAddress())
try:
self.write_buf += packet.encode()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment