修改 logback 2.添加正确的日志pom
This commit is contained in:
parent
1f482594cb
commit
b5fe3571b2
8
pom.xml
8
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user