You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/09/30 10:10:11 UTC

[servicecomb-pack] 14/42: SCB-1368 Log4j2 disable the automatic shutdown hook

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git

commit ae45ed341076dcbb55d82c019cd47fe450388a98
Author: Lei Zhang <co...@gmail.com>
AuthorDate: Sat Sep 21 00:38:49 2019 +0800

    SCB-1368 Log4j2 disable the automatic shutdown hook
---
 alpha/alpha-server/src/main/resources/log4j2.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alpha/alpha-server/src/main/resources/log4j2.xml b/alpha/alpha-server/src/main/resources/log4j2.xml
index a5ec6c6..bb03702 100644
--- a/alpha/alpha-server/src/main/resources/log4j2.xml
+++ b/alpha/alpha-server/src/main/resources/log4j2.xml
@@ -16,7 +16,7 @@
   ~ limitations under the License.
   -->
 
-<Configuration status="WARN" monitorInterval="30">
+<Configuration status="WARN" monitorInterval="30" shutdownHook="disable">
   <Properties>
     <Property name="LOG_PATTERN">
       %d{yyyy-MM-dd HH:mm:ss.SSS} %5p ${hostName} --- [%15.15t] %-40.40c{1.} : %m%n%ex