Remove logger output during tests