Skip to content
Snippets Groups Projects
Commit db72a07e authored by Paul "LeoNerd" Evans's avatar Paul "LeoNerd" Evans
Browse files

Don't make @unittest.DEBUG print the huge amount of verbosity generated by the...

Don't make @unittest.DEBUG print the huge amount of verbosity generated by the synapse.storage loggers
parent 968dc988
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,8 @@ class TestCase(unittest.TestCase): ...@@ -69,6 +69,8 @@ class TestCase(unittest.TestCase):
return ret return ret
logging.getLogger().setLevel(level) logging.getLogger().setLevel(level)
# Don't set SQL logging
logging.getLogger("synapse.storage").setLevel(old_level)
return orig() return orig()
def assertObjectHasAttributes(self, attrs, obj): def assertObjectHasAttributes(self, attrs, obj):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment