diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-13 19:59:32 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-13 19:59:32 +1000 |
commit | b7d2fb5eb9c55f95048444bb6703abbf2fe14c5c (patch) | |
tree | 3a3bf90a8140011c23d30c01b544d607f15cd33b /synapse/__init__.py | |
parent | Merge pull request #3846 from matrix-org/neilj/expose-registered-users (diff) | |
download | synapse-b7d2fb5eb9c55f95048444bb6703abbf2fe14c5c.tar.xz |
Remove some superfluous logging (#3855)
Diffstat (limited to 'synapse/__init__.py')
-rw-r--r-- | synapse/__init__.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/synapse/__init__.py b/synapse/__init__.py index 65a2b894cc..9dbe0b9f10 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -17,4 +17,14 @@ """ This is a reference implementation of a Matrix home server. """ +try: + from twisted.internet import protocol + from twisted.internet.protocol import Factory + from twisted.names.dns import DNSDatagramProtocol + protocol.Factory.noisy = False + Factory.noisy = False + DNSDatagramProtocol.noisy = False +except ImportError: + pass + __version__ = "0.33.4" |