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)
|
||||
kwargs['id'] = msg_id
|
||||
msg = json.dumps(kwargs)
|
||||
#logging.log(
|
||||
# brozzler.TRACE if suppress_logging else logging.DEBUG,
|
||||
# 'sending message to %s: %s', self.websock, msg)
|
||||
# print(msg)
|
||||
logging.log(
|
||||
brozzler.TRACE if suppress_logging else logging.DEBUG,
|
||||
'sending message to %s: %s', self.websock, msg)
|
||||
self.websock.send(msg)
|
||||
return msg_id
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user