Ensure logging is disabled when unit testing feature