Disable logging when running tests
As we test also failures, it is often annoying to get the logging errors displayed in the test result because it gives the feeling that something wrong happened (when it is an expected error).
So I propose to disable logging when running tests.