From a327e853d064f46c5d716003418dbe5f22823ac0 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Wed, 13 Apr 2016 16:00:33 +0100 Subject: [PATCH] reworked debug message in multi message --- steam/core/cm.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/steam/core/cm.py b/steam/core/cm.py index 0e9886c..f417acb 100644 --- a/steam/core/cm.py +++ b/steam/core/cm.py @@ -293,10 +293,13 @@ class CMClient(EventEmitter): self.emit('channel_secured') def __handle_multi(self, msg): - self._LOG.debug("Unpacking CMsgMulti") + self._LOG.debug("Multi: Unpacking") if msg.body.size_unzipped: - self._LOG.debug("Unzipping body") + self._LOG.debug("Multi: Decompressing payload (%d -> %s)" % ( + len(msg.body.message_body), + msg.body.size_unzipped, + )) with GzipFile(fileobj=BytesIO(msg.body.message_body)) as f: data = f.read()