From b5fe3571b218e7fd28964bd260d178c5f17a4e50 Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Mon, 20 Jun 2022 01:06:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20logback=202.=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=AD=A3=E7=A1=AE=E7=9A=84=E6=97=A5=E5=BF=97pom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 8 +------- src/main/resources/application.properties | 5 +---- src/main/resources/logback.xml | 2 +- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 3454499..a67923d 100644 --- a/pom.xml +++ b/pom.xml @@ -31,12 +31,7 @@ - + @@ -112,7 +107,6 @@ protobuf-java ${protobuf.version} - io.grpc grpc-netty diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 45b99ac..e194d9b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,3 @@ server.port=3440 -yuandian.dataflow.config.nacos.server.addr=192.168.1.113:8848 # 不能 "为结尾" - - - \ No newline at end of file +yuandian.dataflow.config.nacos.server.addr=config.yuandian.local:8848 \ No newline at end of file diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 3caefc5..615c996 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -3,7 +3,7 @@ class="ch.qos.logback.core.ConsoleAppender"> - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n + %d{yyyyMMdd HH:mm:ss.SSS} %-5level[%thread\(%file:%line\)]: %msg%n