mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 08:39:59 -05:00
Reinstate logging
This commit is contained in:
parent
e48ad46a63
commit
3b800b583f
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user