Reinstate logging

This commit is contained in:
Vangelis Banos 2018-02-05 08:26:06 +00:00 committed by Noah Levitt
parent e48ad46a63
commit 3b800b583f

View File

@ -315,10 +315,9 @@ class Browser:
msg_id = next(self._command_id) msg_id = next(self._command_id)
kwargs['id'] = msg_id kwargs['id'] = msg_id
msg = json.dumps(kwargs) msg = json.dumps(kwargs)
#logging.log( logging.log(
# brozzler.TRACE if suppress_logging else logging.DEBUG, brozzler.TRACE if suppress_logging else logging.DEBUG,
# 'sending message to %s: %s', self.websock, msg) 'sending message to %s: %s', self.websock, msg)
# print(msg)
self.websock.send(msg) self.websock.send(msg)
return msg_id return msg_id