Disable logger during tests