crystaldust commented on a change in pull request #43: Migration build-provider from web repo URL: https://github.com/apache/incubator-servicecomb-docs/pull/43#discussion_r212524007
########## File path: java-chassis-reference/en_US/build-provider/bootup.md ########## @@ -1,21 +1,18 @@ -## 概念阐述 +# Application Boot-up Process -服务提供者的启动过程分为初始化Log4j、bean加载(包括配置加载)和服务注册三部分。 +The starup process of a service provider includes initializing Log4j, loading bean(including its parameters), and registering service. -* 初始化Log4j +* Initialize Log4j: -`Log4jUtils`默认会从`classpath\*:config/base/log4j.properties`和`classpath\*:config/log4j.properties`两个路径读取log4j配置并合并,将其传递给Log4j的`PropertyConfigurator`方法初始化Log4j。如果优先级最高的配置文件是在磁盘上,且其所在目录有写权限,则将合并的配置输出到该目录,以便于维护时观察生效的参数。 + By default, `Log4jUtils` obtains the configuration of log4j from the `classpath\*:config/base/log4j.properties` and `classpath\*:config/log4j.properties` files. combines them, and transfer them to PropertyConfigurator of log4j to initialize log4j. If the configuration file having the highest priority is stored on the disk and its directory has write permission, save the combined configuration to this directory to view which parameters take effect during maintenance. Review comment: By default, `Log4jUtils` merges the log4j configurations from `classpath\*:config/base/log4j.properties` and `classpath\*:config/log4j.properties`, then transfer them to log4j's PropertyConfigurator method to initialize it. If the configuration file with the highest priority is stored on the disk directory with write permission, the combined configuration will be saved to this location to view which parameters take effect during maintenance. ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
