[
https://issues.apache.org/jira/browse/SCB-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
liubao updated SCB-1802:
------------------------
Summary: add document: for servlet transport, remove log4j will cause some
change (was: for servlet transport, remove log4j will cause some change)
> add document: for servlet transport, remove log4j will cause some change
> ------------------------------------------------------------------------
>
> Key: SCB-1802
> URL: https://issues.apache.org/jira/browse/SCB-1802
> Project: Apache ServiceComb
> Issue Type: Sub-task
> Components: Java-Chassis
> Reporter: liubao
> Assignee: liubao
> Priority: Major
> Fix For: java-chassis-2.0.1
>
>
> ```
> public void initLog(ServletContextEvent sce) throws Exception {
> String logMerged =
> sce.getServletContext().getInitParameter("servicecomb.logging.merged");
> if (!FALSE.toString().equalsIgnoreCase(logMerged)) {
> Log4jUtils.init();
> }
> }
> ```
>
> when run in servlet container, will init log4j, now log4j is removed for
> optional, user's need to init log4j themselves.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)