disable logger during tests