From d6a5bee941a3a3cbdb4c2b9b44247331ff43da22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E8=89=B2?= Date: Wed, 28 Dec 2016 17:32:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E5=88=B00.7.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/logback.xml | 26 +++++++++++++------------- src/main/resources/mpush.conf | 2 +- src/test/resources/application.conf | 2 +- src/test/resources/logback.xml | 20 ++++++++++---------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index e320eda..870fce3 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -113,12 +113,12 @@ - - - ${log.home}/redis-mpush.log + + + ${log.home}/cache-mpush.log true - ${log.home}/redis-mpush.log.%d{yyyy-MM-dd} + ${log.home}/cache-mpush.log.%d{yyyy-MM-dd} 5 @@ -141,12 +141,12 @@ - - - ${log.home}/zk-mpush.log + + + ${log.home}/srd-mpush.log true - ${log.home}/zk-mpush.log.%d{yyyy-MM-dd} + ${log.home}/srd-mpush.log.%d{yyyy-MM-dd} 10 @@ -210,13 +210,13 @@ - + - + - + - + @@ -227,4 +227,4 @@ - + \ No newline at end of file diff --git a/src/main/resources/mpush.conf b/src/main/resources/mpush.conf index feede92..e1c18c7 100644 --- a/src/main/resources/mpush.conf +++ b/src/main/resources/mpush.conf @@ -1,5 +1,5 @@ mp.log-level=${log.level} -mp.net.gateway-server-net=udp // 网关服务使用的网络 udp/tcp +mp.net.gateway-server-net=tcp // 网关服务使用的网络 udp/tcp mp.net.alloc-server-port=9999 mp.zk.server-address="127.0.0.1:2181" mp.redis {// redis 集群配置 diff --git a/src/test/resources/application.conf b/src/test/resources/application.conf index 0ec3f26..2ddd22d 100644 --- a/src/test/resources/application.conf +++ b/src/test/resources/application.conf @@ -1,7 +1,7 @@ mp.log.dir=${user.dir}/alloc/target/logs mp.log.level=debug mp.log-conf-path=logback.xml -mp.net.gateway-server-net=udp // 网关服务使用的网络 udp/tcp +mp.net.gateway-server-net=tcp // 网关服务使用的网络 udp/tcp mp.net.alloc-server-port=9999 mp.zk.server-address="127.0.0.1:2181" mp.redis {// redis 集群配置 diff --git a/src/test/resources/logback.xml b/src/test/resources/logback.xml index ac2962c..a159ade 100644 --- a/src/test/resources/logback.xml +++ b/src/test/resources/logback.xml @@ -1,6 +1,6 @@ - + System.err @@ -87,8 +87,8 @@ - - + + System.out DEBUG @@ -109,8 +109,8 @@ - - + + System.out DEBUG @@ -142,7 +142,7 @@ - + @@ -172,13 +172,13 @@ - + - + - + - +