[ https://issues.apache.org/jira/browse/SCB-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359918#comment-16359918 ]
ASF GitHub Bot commented on SCB-331: ------------------------------------ laijianbin closed pull request #551: [SCB-331] log optimization URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/551 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/ConfigUtil.java b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/ConfigUtil.java index 28e285512..c28706cc7 100644 --- a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/ConfigUtil.java +++ b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/ConfigUtil.java @@ -151,7 +151,7 @@ private static void duplicateServiceCombConfigToCse(ConcurrentCompositeConfigura public static DynamicWatchedConfiguration createConfigFromConfigCenter(Configuration localConfiguration) { if (localConfiguration.getProperty(configCenterUrlKey) == null) { - LOGGER.info("config center URL is missing, skip to load configuration from config center"); + LOGGER.info("config center URL is not configured"); return null; } ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Log optimization > ---------------- > > Key: SCB-331 > URL: https://issues.apache.org/jira/browse/SCB-331 > Project: Apache ServiceComb > Issue Type: Task > Reporter: laijianbin > Assignee: laijianbin > Priority: Major > > public static DynamicWatchedConfiguration > createConfigFromConfigCenter(Configuration localConfiguration) { > if (localConfiguration.getProperty(configCenterUrlKey) == null) > { LOGGER.info("config center URL is missing, skip to load configuration from > config center"); return null; } > changed to > public static DynamicWatchedConfiguration > createConfigFromConfigCenter(Configuration localConfiguration) { > if (localConfiguration.getProperty(configCenterUrlKey) == null) > { LOGGER.info("config center URL is not configured"); return null; } > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)