修改 logback 2.添加正确的日志pom

This commit is contained in:
eson 2022-06-20 01:06:07 +08:00
parent 1f482594cb
commit b5fe3571b2
3 changed files with 3 additions and 12 deletions

View File

@ -31,12 +31,7 @@
</properties>
<dependencies>
<!-- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency> -->
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
<dependency>
@ -112,7 +107,6 @@
<artifactId>protobuf-java</artifactId>
<version>${protobuf.version}</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>

View File

@ -1,6 +1,3 @@
server.port=3440
yuandian.dataflow.config.nacos.server.addr=192.168.1.113:8848 # 不能 "为结尾"
yuandian.dataflow.config.nacos.server.addr=config.yuandian.local:8848

View File

@ -3,7 +3,7 @@
class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>
%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
</pattern>
</encoder>
</appender>