mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-21 16:16:28 -04:00
Reinstate logging
This commit is contained in:
parent
0b0f4a1121
commit
e838829b8a
@ -288,10 +288,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