### Question:
LoggerFactory { static String getLogSpace() { String sysLogSpace = System.getProperty(LOG_SPACE_PROPERTY); return (null != sysLogSpace && !sysLogSpace.isEmpty()) ? sysLogSpace : logSpace; }  static Logger getLogger(Class<?> clazz); static Logger getLogger(String name);  }### Answer:
@Test public void getLogSpace() { Assert.assertEquals("com.alipay.sofa.registry.client", LoggerFactory.getLogSpace()); String key = "registry.client.log.space"; String old = System.getProperty(key); try { System.setProperty(key, "xxx"); Assert.assertEquals("xxx", LoggerFactory.getLogSpace()); } finally { if (old == null) { System.clearProperty(key); } else { System.setProperty(key, old); } } Assert.assertEquals("com.alipay.sofa.registry.client", LoggerFactory.getLogSpace()); }