Hide log messages in tests