Deactivate logging for the test.