Depend nacos logback adapter directly. (#12059)

This commit is contained in:
杨翊 SionYang 2024-05-06 14:15:10 +08:00 committed by GitHub
parent 99807358df
commit ed64d1f055
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 2 deletions

View File

@ -64,13 +64,16 @@
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-logback-adapter-12</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>logback-adapter</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-log4j2-adapter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>

16
pom.xml
View File

@ -127,6 +127,7 @@
<p3c-pmd.version>1.3.0</p3c-pmd.version>
<!-- dependency version -->
<nacos.logback.adapter.version>1.1.0</nacos.logback.adapter.version>
<spring-boot-dependencies.version>2.7.18</spring-boot-dependencies.version>
<servlet-api.version>3.0</servlet-api.version>
<commons-io.version>2.7</commons-io.version>
@ -724,6 +725,21 @@
<artifactId>nacos-client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-logback-adapter-12</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>logback-adapter</artifactId>
<version>${nacos.logback.adapter.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-log4j2-adapter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nacos-test</artifactId>