skywalking版本升级为8.4.0,支持日志收集

This commit is contained in:
tinyWolf 2021-04-09 20:32:45 +08:00
parent 76d91ac7db
commit 3d2961fabf
2 changed files with 5 additions and 1 deletions

View File

@ -36,7 +36,7 @@
<lock4j.version>2.2.0</lock4j.version>
<resilience4j.version>1.7.0</resilience4j.version>
<!-- 监控相关 -->
<skywalking.version>8.3.0</skywalking.version>
<skywalking.version>8.4.0</skywalking.version>
<logback.encoder.version>6.1</logback.encoder.version>
<spring-boot-admin.version>2.3.1</spring-boot-admin.version>
<!-- 工具类相关 -->

View File

@ -25,6 +25,9 @@
<queueSize>10</queueSize>
<appender-ref ref="FILE"/>
</appender>
<!-- skywalking grpc 日志收集 8.4.0版本开始支持 -->
<appender name="GRPC" class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.log.GRPCLogClientAppender">
</appender>
<springProfile name="dev">
<logger name="cn.iocoder.dashboard" level="INFO" additivity="false">
@ -35,6 +38,7 @@
<springProfile name="local">
<logger name="cn.iocoder.dashboard" level="INFO" additivity="false">
<appender-ref ref="STDOUT"/>
<appender-ref ref="GRPC"/>
</logger>
</springProfile>
<springProfile name="default">