@Override
    public void loadConfiguration(NacosLoggingProperties loggingProperties) {
        String location = loggingProperties.getLocation();
        configurator.setLoggingProperties(loggingProperties);
        LoggerContext loggerContext = loadConfigurationOnStart(location);
        if (hasNoListener(loggerContext)) {
            addListener(loggerContext, location);
        }
    }
@Test
    void testLoadConfigurationFailure() {
        assertThrows(IllegalStateException.class, () -> {
            System.setProperty("nacos.logging.config", "http://localhost");
            loggingProperties = new NacosLoggingProperties("classpath:nacos-logback12.xml", System.getProperties());
            logbackNacosLoggingAdapter.loadConfiguration(loggingProperties);
        });
    }