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 @@ - + - + - + - +