Skip to content

Commit

Permalink
reduce twisted log noise for wamp clients (#1537)
Browse files Browse the repository at this point in the history
  • Loading branch information
om26er committed Mar 26, 2022
1 parent d3e01c9 commit 43784b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autobahn/twisted/rawsocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ def __init__(self, factory, serializer=None):
"""
WampRawSocketFactory.__init__(self, factory)

# Reduce the factory logs noise
self.noisy = False

if serializer is None:

# try CBOR WAMP serializer
Expand Down
3 changes: 3 additions & 0 deletions autobahn/twisted/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,3 +858,6 @@ def __init__(self, factory, *args, **kwargs):
kwargs['protocols'] = self._protocols

WebSocketClientFactory.__init__(self, *args, **kwargs)

# Reduce the factory logs noise
self.noisy = False

0 comments on commit 43784b1

Please sign in to comment.