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 <coolbee...@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

Reply via email to