forked from MirrorHub/synapse
Don't make @unittest.DEBUG print the huge amount of verbosity generated by the synapse.storage loggers
This commit is contained in:
parent
968dc988f9
commit
db72a07ef5
|
@ -69,6 +69,8 @@ class TestCase(unittest.TestCase):
|
|||
return ret
|
||||
|
||||
logging.getLogger().setLevel(level)
|
||||
# Don't set SQL logging
|
||||
logging.getLogger("synapse.storage").setLevel(old_level)
|
||||
return orig()
|
||||
|
||||
def assertObjectHasAttributes(self, attrs, obj):
|
||||
|
|
Loading…
Reference in a new issue