mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
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 New Issue
Block a user