Silence logger output in testing