mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-05-30 20:14:44 -04:00
Reinstate logging
This commit is contained in:
parent
e48ad46a63
commit
3b800b583f
1 changed files with 3 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue