mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-08 06:22:23 -04:00
tweak logging
This commit is contained in:
parent
88d3d3b310
commit
d0f5cd7168
4 changed files with 20 additions and 14 deletions
|
@ -317,7 +317,7 @@ class Browser:
|
|||
kwargs['id'] = msg_id
|
||||
msg = json.dumps(kwargs, separators=',:')
|
||||
logging.log(
|
||||
brozzler.TRACE if suppress_logging else logging.DEBUG,
|
||||
logging.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